#CBD042#CBD042

#CBD042 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.8% C 0.159 H 111.4°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CBD042
RGBrgb(203, 208, 66)
HSLhsl(62, 60%, 54%)
HSVhsv(62, 68%, 82%)
CMYKcmyk(2.4%, 0%, 68.3%, 18.4%)
CIE-LABlab(80.85, -18.82, 66.40)
CIE-LCHlch(80.85, 69.02, 105.83°)
OKLaboklab(82.85% -0.0581 0.1483)
OKLCHoklch(82.85% 0.159 111.4)
XYZxyz(48.1694, 58.2028, 13.8500)
Luminance0.5820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD042 #4742D0
analogous
#D08E42 #CBD042 #84D042
triadic
#CBD042 #42CBD0 #D042CB
tetradic
#CBD042 #42D08E #4742D0 #D04284
square
#CBD042 #42D08E #4742D0 #D04284
split-complementary
#CBD042 #4284D0 #8E42D0
monochromatic
#76791E #A6AA2A #CBD042 #D8DC73 #E6E8A4

Accessibility & contrast

On white

1.66
#CBD042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#CBD042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD042
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD042#FFFFFF#000000##000000
##CBD0421.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72B
Deuteranopia (green-blind)
#E1CB4C
Tritanopia (blue-blind)
#D9C3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbd042;
/* rgb */ color: rgb(203, 208, 66);
/* oklch */ color: oklch(82.8% 0.159 111.4);
Tailwind
colors: {
  custom: {
    50: '#dede7f',
    500: '#cbd042',
    950: '#000000',
  },
}
SCSS
$custom: #cbd042;
$custom-light: #dede7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd042",
  "rgb": {
    "r": 203,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 62.113,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82845,
    "c": 0.15929,
    "h": 111.4
  },
  "luminance": 0.58202
}

Semantic roles & 50–950 ramp

primary
#CBD042
secondary
#373581
accent
#44E34A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD042

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CBD042 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva