#CBD17D#CBD17D

#CBD17D is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.107 H 112.0°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#CBD17D
RGBrgb(203, 209, 125)
HSLhsl(64, 48%, 65%)
HSVhsv(64, 40%, 82%)
CMYKcmyk(2.9%, 0%, 40.2%, 18%)
CIE-LABlab(81.72, -14.55, 40.93)
CIE-LCHlch(81.72, 43.44, 109.57°)
OKLaboklab(83.73% -0.0402 0.0995)
OKLCHoklch(83.73% 0.107 112)
XYZxyz(51.1313, 59.7789, 28.2430)
Luminance0.5978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD17D #837DD1
analogous
#D1AD7D #CBD17D #A1D17D
triadic
#CBD17D #7DCBD1 #D17DCB
tetradic
#CBD17D #7DD1AD #837DD1 #D17DA1
square
#CBD17D #7DD1AD #837DD1 #D17DA1
split-complementary
#CBD17D #7DA1D1 #AD7DD1
monochromatic
#959C37 #B9C150 #CBD17D #DDE1AA #EFF1D7

Accessibility & contrast

On white

1.62
#CBD17D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#CBD17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD17D
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD17D#FFFFFF#000000##000000
##CBD17D1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCA76
Deuteranopia (green-blind)
#DDCC81
Tritanopia (blue-blind)
#D5C8BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd17d;
/* rgb */ color: rgb(203, 209, 125);
/* oklch */ color: oklch(83.7% 0.107 112.0);
Tailwind
colors: {
  custom: {
    50: '#dcdfa4',
    500: '#cbd17d',
    950: '#000000',
  },
}
SCSS
$custom: #cbd17d;
$custom-light: #dcdfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd17d",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 125
  },
  "hsl": {
    "h": 64.286,
    "s": 47.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.8373,
    "c": 0.10733,
    "h": 112
  },
  "luminance": 0.59778
}

Semantic roles & 50–950 ramp

primary
#CBD17D
secondary
#5651A2
accent
#2BBB35
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD17D

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

Preview Lab → · Contrast checker → · Palette generator →

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