#CBD24F#CBD24F

#CBD24F is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.4% C 0.152 H 112.2°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#CBD24F
RGBrgb(203, 210, 79)
HSLhsl(63, 59%, 57%)
HSVhsv(63, 62%, 82%)
CMYKcmyk(3.3%, 0%, 62.4%, 17.6%)
CIE-LABlab(81.49, -19.04, 61.96)
CIE-LCHlch(81.49, 64.82, 107.08°)
OKLaboklab(83.38% -0.0574 0.1409)
OKLCHoklch(83.38% 0.152 112.2)
XYZxyz(49.0878, 59.3553, 16.2665)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD24F #564FD2
analogous
#D2984F #CBD24F #8AD24F
triadic
#CBD24F #4FCBD2 #D24FCB
tetradic
#CBD24F #4FD298 #564FD2 #D24F8A
square
#CBD24F #4FD298 #564FD2 #D24F8A
split-complementary
#CBD24F #4F8AD2 #984FD2
monochromatic
#7F8522 #AEB52E #CBD24F #D9DE80 #E8EBB0

Accessibility & contrast

On white

1.63
#CBD24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#CBD24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD24F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD24F#FFFFFF#000000##000000
##CBD24F1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C93E
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#D8C6B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cbd24f;
/* rgb */ color: rgb(203, 210, 79);
/* oklch */ color: oklch(83.4% 0.152 112.2);
Tailwind
colors: {
  custom: {
    50: '#dedf86',
    500: '#cbd24f',
    950: '#000000',
  },
}
SCSS
$custom: #cbd24f;
$custom-light: #dedf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd24f",
  "rgb": {
    "r": 203,
    "g": 210,
    "b": 79
  },
  "hsl": {
    "h": 63.206,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83383,
    "c": 0.15218,
    "h": 112.2
  },
  "luminance": 0.59354
}

Semantic roles & 50–950 ramp

primary
#CBD24F
secondary
#3E3A8C
accent
#45E24E
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD24F

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

Preview Lab → · Contrast checker → · Palette generator →

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