#CBD97D#CBD97D

#CBD97D is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.4% C 0.118 H 116.0°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#CBD97D
RGBrgb(203, 217, 125)
HSLhsl(69, 55%, 67%)
HSVhsv(69, 42%, 85%)
CMYKcmyk(6.5%, 0%, 42.4%, 14.9%)
CIE-LABlab(83.86, -18.53, 43.63)
CIE-LCHlch(83.86, 47.40, 113.01°)
OKLaboklab(85.44% -0.0516 0.1056)
OKLCHoklch(85.44% 0.118 116)
XYZxyz(53.1436, 63.8034, 28.9137)
Luminance0.6380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD97D #8B7DD9
analogous
#D9B97D #CBD97D #9DD97D
triadic
#CBD97D #7DCBD9 #D97DCB
tetradic
#CBD97D #7DD9B9 #8B7DD9 #D97D9D
square
#CBD97D #7DD9B9 #8B7DD9 #D97D9D
split-complementary
#CBD97D #7D9DD9 #B97DD9
monochromatic
#98AA32 #B8CB4E #CBD97D #DEE7AC #F1F5DC

Accessibility & contrast

On white

1.53
#CBD97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#CBD97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD97D
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD97D#FFFFFF#000000##000000
##CBD97D1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D176
Deuteranopia (green-blind)
#E3D282
Tritanopia (blue-blind)
#D4D0C3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cbd97d;
/* rgb */ color: rgb(203, 217, 125);
/* oklch */ color: oklch(85.4% 0.118 116.0);
Tailwind
colors: {
  custom: {
    50: '#dce4a4',
    500: '#cbd97d',
    950: '#000000',
  },
}
SCSS
$custom: #cbd97d;
$custom-light: #dce4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd97d",
  "rgb": {
    "r": 203,
    "g": 217,
    "b": 125
  },
  "hsl": {
    "h": 69.13,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85441,
    "c": 0.11751,
    "h": 116
  },
  "luminance": 0.63803
}

Semantic roles & 50–950 ramp

primary
#CBD97D
secondary
#5C4DAD
accent
#23C23B
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD97D

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

Preview Lab → · Contrast checker → · Palette generator →

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