#CBB954#CBB954

#CBB954 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.1% C 0.123 H 99.3°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#CBB954
RGBrgb(203, 185, 84)
HSLhsl(51, 53%, 56%)
HSVhsv(51, 59%, 80%)
CMYKcmyk(0%, 8.9%, 58.6%, 20.4%)
CIE-LABlab(74.85, -6.03, 52.52)
CIE-LCHlch(74.85, 52.86, 96.55°)
OKLaboklab(78.11% -0.0199 0.1215)
OKLCHoklch(78.11% 0.123 99.3)
XYZxyz(43.5795, 48.0363, 15.3622)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB954 #5466CB
analogous
#CB7E54 #CBB954 #A2CB54
triadic
#CBB954 #54CBB9 #B954CB
tetradic
#CBB954 #54CB7E #5466CB #CB54A2
square
#CBB954 #54CB7E #5466CB #CB54A2
split-complementary
#CBB954 #54A2CB #7E54CB
monochromatic
#7E7126 #AD9B35 #CBB954 #D9CC83 #E8DFB2

Accessibility & contrast

On white

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

On black

10.61
#CBB954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB954
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB954#FFFFFF#000000##000000
##CBB9541.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B44A
Deuteranopia (green-blind)
#CEBB59
Tritanopia (blue-blind)
#D9ADA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb954;
/* rgb */ color: rgb(203, 185, 84);
/* oklch */ color: oklch(78.1% 0.123 99.3);
Tailwind
colors: {
  custom: {
    50: '#ddcd88',
    500: '#cbb954',
    950: '#000000',
  },
}
SCSS
$custom: #cbb954;
$custom-light: #ddcd88;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb954",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 50.924,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78112,
    "c": 0.12314,
    "h": 99.3
  },
  "luminance": 0.48035
}

Semantic roles & 50–950 ramp

primary
#CBB954
secondary
#A5ACD6
accent
#61DD4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB954

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

Preview Lab → · Contrast checker → · Palette generator →

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