#CBD87D#CBD87D

#CBD87D is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.2% C 0.116 H 115.6°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#CBD87D
RGBrgb(203, 216, 125)
HSLhsl(69, 54%, 67%)
HSVhsv(69, 42%, 85%)
CMYKcmyk(6%, 0%, 42.1%, 15.3%)
CIE-LABlab(83.59, -18.04, 43.29)
CIE-LCHlch(83.59, 46.90, 112.62°)
OKLaboklab(85.23% -0.0502 0.1048)
OKLCHoklch(85.23% 0.116 115.6)
XYZxyz(52.8866, 63.2895, 28.8281)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD87D #8A7DD8
analogous
#D8B77D #CBD87D #9ED87D
triadic
#CBD87D #7DCBD8 #D87DCB
tetradic
#CBD87D #7DD8B7 #8A7DD8 #D87D9E
square
#CBD87D #7DD8B7 #8A7DD8 #D87D9E
split-complementary
#CBD87D #7D9ED8 #B77DD8
monochromatic
#97A832 #B8CA4E #CBD87D #DEE6AC #F1F4DB

Accessibility & contrast

On white

1.54
#CBD87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#CBD87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD87D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD87D#FFFFFF#000000##000000
##CBD87D1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D076
Deuteranopia (green-blind)
#E2D181
Tritanopia (blue-blind)
#D4CFC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cbd87d;
/* rgb */ color: rgb(203, 216, 125);
/* oklch */ color: oklch(85.2% 0.116 115.6);
Tailwind
colors: {
  custom: {
    50: '#dce4a4',
    500: '#cbd87d',
    950: '#000000',
  },
}
SCSS
$custom: #cbd87d;
$custom-light: #dce4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd87d",
  "rgb": {
    "r": 203,
    "g": 216,
    "b": 125
  },
  "hsl": {
    "h": 68.571,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85226,
    "c": 0.11622,
    "h": 115.6
  },
  "luminance": 0.63289
}

Semantic roles & 50–950 ramp

primary
#CBD87D
secondary
#5B4EAC
accent
#24C13B
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD87D

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

Preview Lab → · Contrast checker → · Palette generator →

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