#CBD17C#CBD17C

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

Color values

HEX#CBD17C
RGBrgb(203, 209, 124)
HSLhsl(64, 48%, 65%)
HSVhsv(64, 41%, 82%)
CMYKcmyk(2.9%, 0%, 40.7%, 18%)
CIE-LABlab(81.70, -14.66, 41.41)
CIE-LCHlch(81.70, 43.93, 109.49°)
OKLaboklab(83.71% -0.0406 0.1005)
OKLCHoklch(83.71% 0.108 112)
XYZxyz(51.0677, 59.7535, 27.9082)
Luminance0.5975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD17C #827CD1
analogous
#D1AC7C #CBD17C #A1D17C
triadic
#CBD17C #7CCBD1 #D17CCB
tetradic
#CBD17C #7CD1AC #827CD1 #D17CA1
square
#CBD17C #7CD1AC #827CD1 #D17CA1
split-complementary
#CBD17C #7CA1D1 #AC7CD1
monochromatic
#959C37 #B9C14F #CBD17C #DDE1A9 #EFF1D7

Accessibility & contrast

On white

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

On black

12.95
#CBD17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD17C
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD17C#FFFFFF#000000##000000
##CBD17C1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCA75
Deuteranopia (green-blind)
#DDCC80
Tritanopia (blue-blind)
#D5C8BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd17c;
/* rgb */ color: rgb(203, 209, 124);
/* oklch */ color: oklch(83.7% 0.108 112.0);
Tailwind
colors: {
  custom: {
    50: '#dcdfa3',
    500: '#cbd17c',
    950: '#000000',
  },
}
SCSS
$custom: #cbd17c;
$custom-light: #dcdfa3;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd17c",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 124
  },
  "hsl": {
    "h": 64.235,
    "s": 48.023,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83714,
    "c": 0.10843,
    "h": 112
  },
  "luminance": 0.59753
}

Semantic roles & 50–950 ramp

primary
#CBD17C
secondary
#5650A1
accent
#2ABB34
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD17C

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

Preview Lab → · Contrast checker → · Palette generator →

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