#CBB04D#CBB04D

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

Color values

HEX#CBB04D
RGBrgb(203, 176, 77)
HSLhsl(47, 55%, 55%)
HSVhsv(47, 62%, 80%)
CMYKcmyk(0%, 13.3%, 62.1%, 20.4%)
CIE-LABlab(72.42, -1.81, 53.01)
CIE-LCHlch(72.42, 53.04, 91.95°)
OKLaboklab(76.17% -0.0086 0.1217)
OKLCHoklch(76.17% 0.122 94)
XYZxyz(41.4954, 44.2851, 13.3819)
Luminance0.4428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB04D #4D68CB
analogous
#CB714D #CBB04D #A7CB4D
triadic
#CBB04D #4DCBB0 #B04DCB
tetradic
#CBB04D #4DCB71 #4D68CB #CB4DA7
square
#CBB04D #4DCB71 #4D68CB #CB4DA7
split-complementary
#CBB04D #4DA7CB #714DCB
monochromatic
#7A6724 #A99031 #CBB04D #D9C57C #E7DAAC

Accessibility & contrast

On white

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

On black

9.86
#CBB04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB04D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB04D#FFFFFF#000000##000000
##CBB04D1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD42
Deuteranopia (green-blind)
#C8B552
Tritanopia (blue-blind)
#DAA39B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cbb04d;
/* rgb */ color: rgb(203, 176, 77);
/* oklch */ color: oklch(76.2% 0.122 94.0);
Tailwind
colors: {
  custom: {
    50: '#dec783',
    500: '#cbb04d',
    950: '#000000',
  },
}
SCSS
$custom: #cbb04d;
$custom-light: #dec783;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb04d",
  "rgb": {
    "r": 203,
    "g": 176,
    "b": 77
  },
  "hsl": {
    "h": 47.143,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76167,
    "c": 0.12196,
    "h": 94
  },
  "luminance": 0.44283
}

Semantic roles & 50–950 ramp

primary
#CBB04D
secondary
#9FABD4
accent
#69DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB04D

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

Preview Lab → · Contrast checker → · Palette generator →

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