#CBD97C#CBD97C

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

Color values

HEX#CBD97C
RGBrgb(203, 217, 124)
HSLhsl(69, 55%, 67%)
HSVhsv(69, 43%, 85%)
CMYKcmyk(6.5%, 0%, 42.9%, 14.9%)
CIE-LABlab(83.85, -18.64, 44.10)
CIE-LCHlch(83.85, 47.88, 112.91°)
OKLaboklab(85.43% -0.052 0.1066)
OKLCHoklch(85.43% 0.119 116)
XYZxyz(53.0800, 63.7780, 28.5790)
Luminance0.6378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD97C #8A7CD9
analogous
#D9B97C #CBD97C #9DD97C
triadic
#CBD97C #7CCBD9 #D97CCB
tetradic
#CBD97C #7CD9B9 #8A7CD9 #D97C9D
square
#CBD97C #7CD9B9 #8A7CD9 #D97C9D
split-complementary
#CBD97C #7C9DD9 #B97CD9
monochromatic
#97A931 #B8CB4D #CBD97C #DEE7AB #F1F5DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBD97C#FFFFFF#000000##000000
##CBD97C1.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)
#E5D075
Deuteranopia (green-blind)
#E3D281
Tritanopia (blue-blind)
#D4D0C3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cbd97c;
/* rgb */ color: rgb(203, 217, 124);
/* oklch */ color: oklch(85.4% 0.119 116.0);
Tailwind
colors: {
  custom: {
    50: '#dce4a3',
    500: '#cbd97c',
    950: '#000000',
  },
}
SCSS
$custom: #cbd97c;
$custom-light: #dce4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd97c",
  "rgb": {
    "r": 203,
    "g": 217,
    "b": 124
  },
  "hsl": {
    "h": 69.032,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85426,
    "c": 0.11858,
    "h": 116
  },
  "luminance": 0.63777
}

Semantic roles & 50–950 ramp

primary
#CBD97C
secondary
#5B4DAD
accent
#23C33B
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD97C

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

Preview Lab → · Contrast checker → · Palette generator →

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