#CBB24C#CBB24C

#CBB24C is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.124 H 95.5°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#CBB24C
RGBrgb(203, 178, 76)
HSLhsl(48, 55%, 55%)
HSVhsv(48, 63%, 80%)
CMYKcmyk(0%, 12.3%, 62.6%, 20.4%)
CIE-LABlab(72.93, -2.93, 54.02)
CIE-LCHlch(72.93, 54.10, 93.10°)
OKLaboklab(76.57% -0.0119 0.1237)
OKLCHoklch(76.57% 0.124 95.5)
XYZxyz(41.8554, 45.0611, 13.3291)
Luminance0.4506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB24C #4C65CB
analogous
#CB734C #CBB24C #A5CB4C
triadic
#CBB24C #4CCBB2 #B24CCB
tetradic
#CBB24C #4CCB73 #4C65CB #CB4CA5
square
#CBB24C #4CCB73 #4C65CB #CB4CA5
split-complementary
#CBB24C #4CA5CB #734CCB
monochromatic
#796823 #A99131 #CBB24C #D9C67B #E7DBAB

Accessibility & contrast

On white

2.10
#CBB24C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#CBB24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB24C
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB24C#FFFFFF#000000##000000
##CBB24C1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE41
Deuteranopia (green-blind)
#C9B651
Tritanopia (blue-blind)
#DAA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb24c;
/* rgb */ color: rgb(203, 178, 76);
/* oklch */ color: oklch(76.6% 0.124 95.5);
Tailwind
colors: {
  custom: {
    50: '#dec882',
    500: '#cbb24c',
    950: '#000000',
  },
}
SCSS
$custom: #cbb24c;
$custom-light: #dec882;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb24c",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 76
  },
  "hsl": {
    "h": 48.189,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7657,
    "c": 0.12426,
    "h": 95.5
  },
  "luminance": 0.45059
}

Semantic roles & 50–950 ramp

primary
#CBB24C
secondary
#9FA9D4
accent
#67DE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB24C

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

Preview Lab → · Contrast checker → · Palette generator →

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