#CBC85D#CBC85D

#CBC85D is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.130 H 107.5°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CBC85D
RGBrgb(203, 200, 93)
HSLhsl(58, 51%, 58%)
HSVhsv(58, 54%, 80%)
CMYKcmyk(0%, 1.5%, 54.2%, 20.4%)
CIE-LABlab(78.92, -13.04, 53.01)
CIE-LCHlch(78.92, 54.59, 103.82°)
OKLaboklab(81.38% -0.0389 0.1236)
OKLCHoklch(81.38% 0.13 107.5)
XYZxyz(47.2600, 54.7967, 18.4411)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC85D #5D60CB
analogous
#CB915D #CBC85D #97CB5D
triadic
#CBC85D #5DCBC8 #C85DCB
tetradic
#CBC85D #5DCB91 #5D60CB #CB5D97
square
#CBC85D #5DCB91 #5D60CB #CB5D97
split-complementary
#CBC85D #5D97CB #915DCB
monochromatic
#83812A #B2AE39 #CBC85D #DAD88B #E9E7BA

Accessibility & contrast

On white

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

On black

11.96
#CBC85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC85D
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC85D#FFFFFF#000000##000000
##CBC85D1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C152
Deuteranopia (green-blind)
#D9C563
Tritanopia (blue-blind)
#D8BDB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc85d;
/* rgb */ color: rgb(203, 200, 93);
/* oklch */ color: oklch(81.4% 0.130 107.5);
Tailwind
colors: {
  custom: {
    50: '#ddd88e',
    500: '#cbc85d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc85d;
$custom-light: #ddd88e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc85d",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 93
  },
  "hsl": {
    "h": 58.364,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81379,
    "c": 0.12961,
    "h": 107.5
  },
  "luminance": 0.54795
}

Semantic roles & 50–950 ramp

primary
#CBC85D
secondary
#41438B
accent
#51DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC85D

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

Preview Lab → · Contrast checker → · Palette generator →

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