#CBB042#CBB042

#CBB042 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.131 H 95.2°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#CBB042
RGBrgb(203, 176, 66)
HSLhsl(48, 57%, 53%)
HSVhsv(48, 67%, 80%)
CMYKcmyk(0%, 13.3%, 67.5%, 20.4%)
CIE-LABlab(72.32, -2.49, 57.73)
CIE-LCHlch(72.32, 57.78, 92.47°)
OKLaboklab(76.06% -0.0119 0.13)
OKLCHoklch(76.06% 0.131 95.2)
XYZxyz(41.1393, 44.1427, 11.5067)
Luminance0.4414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB042 #425DCB
analogous
#CB6B42 #CBB042 #A1CB42
triadic
#CBB042 #42CBB0 #B042CB
tetradic
#CBB042 #42CB6B #425DCB #CB42A1
square
#CBB042 #42CB6B #425DCB #CB42A1
split-complementary
#CBB042 #42A1CB #6B42CB
monochromatic
#736320 #A38C2D #CBB042 #D8C472 #E5D8A2

Accessibility & contrast

On white

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

On black

9.83
#CBB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB042
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB042#FFFFFF#000000##000000
##CBB0421.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbb042;
/* rgb */ color: rgb(203, 176, 66);
/* oklch */ color: oklch(76.1% 0.131 95.2);
Tailwind
colors: {
  custom: {
    50: '#dec77c',
    500: '#cbb042',
    950: '#000000',
  },
}
SCSS
$custom: #cbb042;
$custom-light: #dec77c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb042",
  "rgb": {
    "r": 203,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 48.175,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76062,
    "c": 0.13054,
    "h": 95.2
  },
  "luminance": 0.44141
}

Semantic roles & 50–950 ramp

primary
#CBB042
secondary
#97A2D2
accent
#66E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB042

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

Preview Lab → · Contrast checker → · Palette generator →

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