#CBB84B#CBB84B

#CBB84B is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.8% C 0.130 H 99.4°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CBB84B
RGBrgb(203, 184, 75)
HSLhsl(51, 55%, 55%)
HSVhsv(51, 63%, 80%)
CMYKcmyk(0%, 9.4%, 63.1%, 20.4%)
CIE-LABlab(74.50, -6.13, 56.17)
CIE-LCHlch(74.50, 56.51, 96.23°)
OKLaboklab(77.81% -0.0212 0.1281)
OKLCHoklch(77.81% 0.13 99.4)
XYZxyz(43.0409, 47.4874, 13.5541)
Luminance0.4748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB84B #4B5ECB
analogous
#CB784B #CBB84B #9ECB4B
triadic
#CBB84B #4BCBB8 #B84BCB
tetradic
#CBB84B #4BCB78 #4B5ECB #CB4B9E
square
#CBB84B #4BCB78 #4B5ECB #CB4B9E
split-complementary
#CBB84B #4B9ECB #784BCB
monochromatic
#796C23 #A89631 #CBB84B #D9CB7A #E6DDAA

Accessibility & contrast

On white

2.00
#CBB84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#CBB84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB84B
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB84B#FFFFFF#000000##000000
##CBB84B1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33E
Deuteranopia (green-blind)
#CEBA51
Tritanopia (blue-blind)
#DAABA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cbb84b;
/* rgb */ color: rgb(203, 184, 75);
/* oklch */ color: oklch(77.8% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#decd82',
    500: '#cbb84b',
    950: '#000000',
  },
}
SCSS
$custom: #cbb84b;
$custom-light: #decd82;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb84b",
  "rgb": {
    "r": 203,
    "g": 184,
    "b": 75
  },
  "hsl": {
    "h": 51.094,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77809,
    "c": 0.12986,
    "h": 99.4
  },
  "luminance": 0.47485
}

Semantic roles & 50–950 ramp

primary
#CBB84B
secondary
#9EA6D4
accent
#5FDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB84B

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

Preview Lab → · Contrast checker → · Palette generator →

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