#CBB04C#CBB04C

#CBB04C is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.123 H 94.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#CBB04C
RGBrgb(203, 176, 76)
HSLhsl(47, 55%, 55%)
HSVhsv(47, 63%, 80%)
CMYKcmyk(0%, 13.3%, 62.6%, 20.4%)
CIE-LABlab(72.41, -1.88, 53.45)
CIE-LCHlch(72.41, 53.48, 92.01°)
OKLaboklab(76.16% -0.0089 0.1225)
OKLCHoklch(76.16% 0.123 94.2)
XYZxyz(41.4603, 44.2711, 13.1974)
Luminance0.4427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB04C #4C67CB
analogous
#CB714C #CBB04C #A7CB4C
triadic
#CBB04C #4CCBB0 #B04CCB
tetradic
#CBB04C #4CCB71 #4C67CB #CB4CA7
square
#CBB04C #4CCB71 #4C67CB #CB4CA7
split-complementary
#CBB04C #4CA7CB #714CCB
monochromatic
#796723 #A98F31 #CBB04C #D9C57B #E7DAAB

Accessibility & contrast

On white

2.13
#CBB04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#CBB04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB04C
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB04C#FFFFFF#000000##000000
##CBB04C1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD41
Deuteranopia (green-blind)
#C8B551
Tritanopia (blue-blind)
#DAA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cbb04c;
/* rgb */ color: rgb(203, 176, 76);
/* oklch */ color: oklch(76.2% 0.123 94.2);
Tailwind
colors: {
  custom: {
    50: '#dec782',
    500: '#cbb04c',
    950: '#000000',
  },
}
SCSS
$custom: #cbb04c;
$custom-light: #dec782;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb04c",
  "rgb": {
    "r": 203,
    "g": 176,
    "b": 76
  },
  "hsl": {
    "h": 47.244,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76157,
    "c": 0.12278,
    "h": 94.2
  },
  "luminance": 0.44269
}

Semantic roles & 50–950 ramp

primary
#CBB04C
secondary
#9FAAD4
accent
#69DE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB04C

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

Preview Lab → · Contrast checker → · Palette generator →

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