Color #bad128
A moderately saturated medium yellow.
Conversions
#bad128
rgb(186, 209, 40)
hsl(68.2, 67.9%, 48.8%)
hsv(68.2, 80.9%, 82%)
cmyk(11%, 0%, 80.9%, 18%)
lab(79.72, -27.48, 73.14)
lch(79.72, 78.13, 110.59)
oklch(81.6%, 0.1792, 117.69)
hwb(68.2, 15.7%, 18%)
Harmony colors
Accessibility
Black text reads better on this background (12.24:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#c4c573 · ΔE 9.8
Deuteranopia
#c3c17d · ΔE 12.4
Tritanopia
#bb9298 · ΔE 44.9
Achromatopsia
#c6c6c6 · ΔE 28.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #bad128;
bg-[#bad128]
Related colors
Frequently asked questions
#bad128 (#bad128) is rgb(186, 209, 40) in RGB.
No, #bad128 is not web-safe. The nearest web-safe colors are among its tones and shades below.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #bad128, or check how it holds up for accessibility.