#CBB04A#CBB04A

#CBB04A is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.124 H 94.4°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#CBB04A
RGBrgb(203, 176, 74)
HSLhsl(47, 55%, 54%)
HSVhsv(47, 64%, 80%)
CMYKcmyk(0%, 13.3%, 63.5%, 20.4%)
CIE-LABlab(72.39, -2.00, 54.33)
CIE-LCHlch(72.39, 54.37, 92.11°)
OKLaboklab(76.14% -0.0095 0.1241)
OKLCHoklch(76.14% 0.124 94.4)
XYZxyz(41.3919, 44.2437, 12.8369)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB04A #4A65CB
analogous
#CB704A #CBB04A #A6CB4A
triadic
#CBB04A #4ACBB0 #B04ACB
tetradic
#CBB04A #4ACB70 #4A65CB #CB4AA6
square
#CBB04A #4ACB70 #4A65CB #CB4AA6
split-complementary
#CBB04A #4AA6CB #704ACB
monochromatic
#786623 #A88F30 #CBB04A #D9C57A #E6DAA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB04A#FFFFFF#000000##000000
##CBB04A1.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)
#C1AD3E
Deuteranopia (green-blind)
#C8B54F
Tritanopia (blue-blind)
#DAA39A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbb04a;
/* rgb */ color: rgb(203, 176, 74);
/* oklch */ color: oklch(76.1% 0.124 94.4);
Tailwind
colors: {
  custom: {
    50: '#dec781',
    500: '#cbb04a',
    950: '#000000',
  },
}
SCSS
$custom: #cbb04a;
$custom-light: #dec781;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb04a",
  "rgb": {
    "r": 203,
    "g": 176,
    "b": 74
  },
  "hsl": {
    "h": 47.442,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76137,
    "c": 0.12442,
    "h": 94.4
  },
  "luminance": 0.44242
}

Semantic roles & 50–950 ramp

primary
#CBB04A
secondary
#9DA8D4
accent
#68DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB04A

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

Preview Lab → · Contrast checker → · Palette generator →

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