#CBB040#CBB040

#CBB040 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.0% C 0.132 H 95.4°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#CBB040
RGBrgb(203, 176, 64)
HSLhsl(48, 57%, 52%)
HSVhsv(48, 68%, 80%)
CMYKcmyk(0%, 13.3%, 68.5%, 20.4%)
CIE-LABlab(72.31, -2.60, 58.54)
CIE-LCHlch(72.31, 58.60, 92.54°)
OKLaboklab(76.05% -0.0124 0.1314)
OKLCHoklch(76.05% 0.132 95.4)
XYZxyz(41.0814, 44.1195, 11.2015)
Luminance0.4412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB040 #405BCB
analogous
#CB6A40 #CBB040 #A1CB40
triadic
#CBB040 #40CBB0 #B040CB
tetradic
#CBB040 #40CB6A #405BCB #CB40A1
square
#CBB040 #40CB6A #405BCB #CB40A1
split-complementary
#CBB040 #40A1CB #6A40CB
monochromatic
#72621F #A28B2C #CBB040 #D8C470 #E5D8A0

Accessibility & contrast

On white

2.14
#CBB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#CBB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB040
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB040#FFFFFF#000000##000000
##CBB0401.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC31
Deuteranopia (green-blind)
#C9B546
Tritanopia (blue-blind)
#DBA399
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbb040;
/* rgb */ color: rgb(203, 176, 64);
/* oklch */ color: oklch(76.0% 0.132 95.4);
Tailwind
colors: {
  custom: {
    50: '#dec77b',
    500: '#cbb040',
    950: '#000000',
  },
}
SCSS
$custom: #cbb040;
$custom-light: #dec77b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb040",
  "rgb": {
    "r": 203,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 48.345,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76045,
    "c": 0.13198,
    "h": 95.4
  },
  "luminance": 0.44117
}

Semantic roles & 50–950 ramp

primary
#CBB040
secondary
#95A1D2
accent
#65E047
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB040

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

Preview Lab → · Contrast checker → · Palette generator →

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