#CBC954#CBC954

#CBC954 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.139 H 108.2°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CBC954
RGBrgb(203, 201, 84)
HSLhsl(59, 53%, 56%)
HSVhsv(59, 59%, 80%)
CMYKcmyk(0%, 1%, 58.6%, 20.4%)
CIE-LABlab(79.11, -14.22, 57.26)
CIE-LCHlch(79.11, 59.00, 103.95°)
OKLaboklab(81.5% -0.0433 0.1316)
OKLCHoklch(81.5% 0.139 108.2)
XYZxyz(47.1169, 55.1112, 16.5413)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC954 #5456CB
analogous
#CB8E54 #CBC954 #92CB54
triadic
#CBC954 #54CBC9 #C954CB
tetradic
#CBC954 #54CB8E #5456CB #CB5492
square
#CBC954 #54CB8E #5456CB #CB5492
split-complementary
#CBC954 #5492CB #8E54CB
monochromatic
#7E7D26 #ADAB35 #CBC954 #D9D883 #E8E7B2

Accessibility & contrast

On white

1.75
#CBC954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CBC954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC954
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC954#FFFFFF#000000##000000
##CBC9541.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C247
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#D8BDB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc954;
/* rgb */ color: rgb(203, 201, 84);
/* oklch */ color: oklch(81.5% 0.139 108.2);
Tailwind
colors: {
  custom: {
    50: '#ddd989',
    500: '#cbc954',
    950: '#000000',
  },
}
SCSS
$custom: #cbc954;
$custom-light: #ddd989;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc954",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 84
  },
  "hsl": {
    "h": 58.992,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81496,
    "c": 0.13857,
    "h": 108.2
  },
  "luminance": 0.5511
}

Semantic roles & 50–950 ramp

primary
#CBC954
secondary
#3D3E86
accent
#4DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC954

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

Preview Lab → · Contrast checker → · Palette generator →

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