#CBC24E#CBC24E

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

Color values

HEX#CBC24E
RGBrgb(203, 194, 78)
HSLhsl(56, 55%, 55%)
HSVhsv(56, 62%, 80%)
CMYKcmyk(0%, 4.4%, 61.6%, 20.4%)
CIE-LABlab(77.18, -11.08, 57.77)
CIE-LCHlch(77.18, 58.82, 100.86°)
OKLaboklab(79.95% -0.035 0.1319)
OKLCHoklch(79.95% 0.136 104.9)
XYZxyz(45.2971, 51.8317, 14.8247)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC24E #4E57CB
analogous
#CB834E #CBC24E #95CB4E
triadic
#CBC24E #4ECBC2 #C24ECB
tetradic
#CBC24E #4ECB83 #4E57CB #CB4E95
square
#CBC24E #4ECB83 #4E57CB #CB4E95
split-complementary
#CBC24E #4E95CB #834ECB
monochromatic
#7B7424 #AAA132 #CBC24E #D9D27D #E7E3AD

Accessibility & contrast

On white

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

On black

11.37
#CBC24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC24E
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC24E#FFFFFF#000000##000000
##CBC24E1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc24e;
/* rgb */ color: rgb(203, 194, 78);
/* oklch */ color: oklch(79.9% 0.136 104.9);
Tailwind
colors: {
  custom: {
    50: '#ded484',
    500: '#cbc24e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc24e;
$custom-light: #ded484;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc24e",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 78
  },
  "hsl": {
    "h": 55.68,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79946,
    "c": 0.13648,
    "h": 104.9
  },
  "luminance": 0.5183
}

Semantic roles & 50–950 ramp

primary
#CBC24E
secondary
#3A4083
accent
#55DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC24E

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

Preview Lab → · Contrast checker → · Palette generator →

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