#CBB94B#CBB94B

#CBB94B is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.131 H 100.0°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#CBB94B
RGBrgb(203, 185, 75)
HSLhsl(52, 55%, 55%)
HSVhsv(52, 63%, 80%)
CMYKcmyk(0%, 8.9%, 63.1%, 20.4%)
CIE-LABlab(74.76, -6.65, 56.46)
CIE-LCHlch(74.76, 56.85, 96.72°)
OKLaboklab(78.02% -0.0227 0.1287)
OKLCHoklch(78.02% 0.131 100)
XYZxyz(43.2493, 47.9043, 13.6236)
Luminance0.4790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB94B #4B5DCB
analogous
#CB794B #CBB94B #9DCB4B
triadic
#CBB94B #4BCBB9 #B94BCB
tetradic
#CBB94B #4BCB79 #4B5DCB #CB4B9D
square
#CBB94B #4BCB79 #4B5DCB #CB4B9D
split-complementary
#CBB94B #4B9DCB #794BCB
monochromatic
#796D23 #A89731 #CBB94B #D9CB7A #E6DEAA

Accessibility & contrast

On white

1.98
#CBB94B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#CBB94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB94B
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB94B#FFFFFF#000000##000000
##CBB94B1.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43E
Deuteranopia (green-blind)
#CFBB51
Tritanopia (blue-blind)
#DAACA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb94b;
/* rgb */ color: rgb(203, 185, 75);
/* oklch */ color: oklch(78.0% 0.131 100.0);
Tailwind
colors: {
  custom: {
    50: '#decd82',
    500: '#cbb94b',
    950: '#000000',
  },
}
SCSS
$custom: #cbb94b;
$custom-light: #decd82;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb94b",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 75
  },
  "hsl": {
    "h": 51.563,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78019,
    "c": 0.1307,
    "h": 100
  },
  "luminance": 0.47902
}

Semantic roles & 50–950 ramp

primary
#CBB94B
secondary
#9EA5D4
accent
#5EDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB94B

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

Preview Lab → · Contrast checker → · Palette generator →

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