#CBC24D#CBC24D

#CBC24D is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.9% C 0.137 H 104.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CBC24D
RGBrgb(203, 194, 77)
HSLhsl(56, 55%, 55%)
HSVhsv(56, 62%, 80%)
CMYKcmyk(0%, 4.4%, 62.1%, 20.4%)
CIE-LABlab(77.17, -11.15, 58.19)
CIE-LCHlch(77.17, 59.24, 100.85°)
OKLaboklab(79.94% -0.0353 0.1327)
OKLCHoklch(79.94% 0.137 104.9)
XYZxyz(45.2616, 51.8175, 14.6373)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC24D #4D56CB
analogous
#CB834D #CBC24D #95CB4D
triadic
#CBC24D #4DCBC2 #C24DCB
tetradic
#CBC24D #4DCB83 #4D56CB #CB4D95
square
#CBC24D #4DCB83 #4D56CB #CB4D95
split-complementary
#CBC24D #4D95CB #834DCB
monochromatic
#7A7424 #A9A131 #CBC24D #D9D27C #E7E2AC

Accessibility & contrast

On white

1.85
#CBC24D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CBC24D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC24D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC24D#FFFFFF#000000##000000
##CBC24D1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3F
Deuteranopia (green-blind)
#D5C154
Tritanopia (blue-blind)
#D9B6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc24d;
/* rgb */ color: rgb(203, 194, 77);
/* oklch */ color: oklch(79.9% 0.137 104.9);
Tailwind
colors: {
  custom: {
    50: '#ded484',
    500: '#cbc24d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc24d;
$custom-light: #ded484;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc24d",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 77
  },
  "hsl": {
    "h": 55.714,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79936,
    "c": 0.13728,
    "h": 104.9
  },
  "luminance": 0.51816
}

Semantic roles & 50–950 ramp

primary
#CBC24D
secondary
#3A3F82
accent
#54DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC24D

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

Preview Lab → · Contrast checker → · Palette generator →

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