#CBB24F#CBB24F

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

Color values

HEX#CBB24F
RGBrgb(203, 178, 79)
HSLhsl(48, 54%, 55%)
HSVhsv(48, 61%, 80%)
CMYKcmyk(0%, 12.3%, 61.1%, 20.4%)
CIE-LABlab(72.96, -2.73, 52.70)
CIE-LCHlch(72.96, 52.77, 92.96°)
OKLaboklab(76.6% -0.011 0.1213)
OKLCHoklch(76.6% 0.122 95.2)
XYZxyz(41.9621, 45.1038, 13.8912)
Luminance0.4510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB24F #4F68CB
analogous
#CB744F #CBB24F #A6CB4F
triadic
#CBB24F #4FCBB2 #B24FCB
tetradic
#CBB24F #4FCB74 #4F68CB #CB4FA6
square
#CBB24F #4FCB74 #4F68CB #CB4FA6
split-complementary
#CBB24F #4FA6CB #744FCB
monochromatic
#7B6A24 #AA9232 #CBB24F #D9C77E #E7DBAD

Accessibility & contrast

On white

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

On black

10.02
#CBB24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB24F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB24F#FFFFFF#000000##000000
##CBB24F1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF44
Deuteranopia (green-blind)
#C9B654
Tritanopia (blue-blind)
#DAA69C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb24f;
/* rgb */ color: rgb(203, 178, 79);
/* oklch */ color: oklch(76.6% 0.122 95.2);
Tailwind
colors: {
  custom: {
    50: '#dec884',
    500: '#cbb24f',
    950: '#000000',
  },
}
SCSS
$custom: #cbb24f;
$custom-light: #dec884;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb24f",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 79
  },
  "hsl": {
    "h": 47.903,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76602,
    "c": 0.12177,
    "h": 95.2
  },
  "luminance": 0.45102
}

Semantic roles & 50–950 ramp

primary
#CBB24F
secondary
#A1ABD5
accent
#68DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CBB24F

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

Preview Lab → · Contrast checker → · Palette generator →

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