#CBD97B#CBD97B

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

Color values

HEX#CBD97B
RGBrgb(203, 217, 123)
HSLhsl(69, 55%, 67%)
HSVhsv(69, 43%, 85%)
CMYKcmyk(6.5%, 0%, 43.3%, 14.9%)
CIE-LABlab(83.84, -18.74, 44.58)
CIE-LCHlch(83.84, 48.36, 112.81°)
OKLaboklab(85.41% -0.0523 0.1076)
OKLCHoklch(85.41% 0.12 115.9)
XYZxyz(53.0171, 63.7528, 28.2476)
Luminance0.6375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD97B #897BD9
analogous
#D9B87B #CBD97B #9CD97B
triadic
#CBD97B #7BCBD9 #D97BCB
tetradic
#CBD97B #7BD9B8 #897BD9 #D97B9C
square
#CBD97B #7BD9B8 #897BD9 #D97B9C
split-complementary
#CBD97B #7B9CD9 #B87BD9
monochromatic
#97A931 #B8CB4B #CBD97B #DEE7AB #F0F4DA

Accessibility & contrast

On white

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

On black

13.75
#CBD97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD97B
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD97B#FFFFFF#000000##000000
##CBD97B1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbd97b;
/* rgb */ color: rgb(203, 217, 123);
/* oklch */ color: oklch(85.4% 0.120 115.9);
Tailwind
colors: {
  custom: {
    50: '#dce4a3',
    500: '#cbd97b',
    950: '#000000',
  },
}
SCSS
$custom: #cbd97b;
$custom-light: #dce4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd97b",
  "rgb": {
    "r": 203,
    "g": 217,
    "b": 123
  },
  "hsl": {
    "h": 68.936,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85411,
    "c": 0.11965,
    "h": 115.9
  },
  "luminance": 0.63752
}

Semantic roles & 50–950 ramp

primary
#CBD97B
secondary
#5A4CAC
accent
#23C33B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD97B

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

Preview Lab → · Contrast checker → · Palette generator →

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