#CBC854#CBC854

#CBC854 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.138 H 107.7°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CBC854
RGBrgb(203, 200, 84)
HSLhsl(58, 53%, 56%)
HSVhsv(58, 59%, 80%)
CMYKcmyk(0%, 1.5%, 58.6%, 20.4%)
CIE-LABlab(78.84, -13.72, 56.96)
CIE-LCHlch(78.84, 58.59, 103.54°)
OKLaboklab(81.28% -0.0418 0.131)
OKLCHoklch(81.28% 0.138 107.7)
XYZxyz(46.8845, 54.6465, 16.4639)
Luminance0.5464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC854 #5457CB
analogous
#CB8D54 #CBC854 #93CB54
triadic
#CBC854 #54CBC8 #C854CB
tetradic
#CBC854 #54CB8D #5457CB #CB5493
square
#CBC854 #54CB8D #5457CB #CB5493
split-complementary
#CBC854 #5493CB #8D54CB
monochromatic
#7E7C26 #ADAA35 #CBC854 #D9D783 #E8E6B2

Accessibility & contrast

On white

1.76
#CBC854 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CBC854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC854
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC854#FFFFFF#000000##000000
##CBC8541.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C147
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#D8BCAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc854;
/* rgb */ color: rgb(203, 200, 84);
/* oklch */ color: oklch(81.3% 0.138 107.7);
Tailwind
colors: {
  custom: {
    50: '#ddd889',
    500: '#cbc854',
    950: '#000000',
  },
}
SCSS
$custom: #cbc854;
$custom-light: #ddd889;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc854",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 84
  },
  "hsl": {
    "h": 58.487,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81282,
    "c": 0.13753,
    "h": 107.7
  },
  "luminance": 0.54645
}

Semantic roles & 50–950 ramp

primary
#CBC854
secondary
#3D3F86
accent
#4FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC854

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

Preview Lab → · Contrast checker → · Palette generator →

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