#CBD17E#CBD17E

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

Color values

HEX#CBD17E
RGBrgb(203, 209, 126)
HSLhsl(64, 47%, 66%)
HSVhsv(64, 40%, 82%)
CMYKcmyk(2.9%, 0%, 39.7%, 18%)
CIE-LABlab(81.73, -14.44, 40.45)
CIE-LCHlch(81.73, 42.95, 109.65°)
OKLaboklab(83.75% -0.0398 0.0985)
OKLCHoklch(83.75% 0.106 112)
XYZxyz(51.1955, 59.8046, 28.5811)
Luminance0.5980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD17E #847ED1
analogous
#D1AD7E #CBD17E #A1D17E
triadic
#CBD17E #7ECBD1 #D17ECB
tetradic
#CBD17E #7ED1AD #847ED1 #D17EA1
square
#CBD17E #7ED1AD #847ED1 #D17EA1
split-complementary
#CBD17E #7EA1D1 #AD7ED1
monochromatic
#959D38 #B9C151 #CBD17E #DDE1AB #EFF1D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBD17E#FFFFFF#000000##000000
##CBD17E1.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)
#DCCA78
Deuteranopia (green-blind)
#DDCC82
Tritanopia (blue-blind)
#D5C8BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd17e;
/* rgb */ color: rgb(203, 209, 126);
/* oklch */ color: oklch(83.7% 0.106 112.0);
Tailwind
colors: {
  custom: {
    50: '#dcdfa4',
    500: '#cbd17e',
    950: '#000000',
  },
}
SCSS
$custom: #cbd17e;
$custom-light: #dcdfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd17e",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 126
  },
  "hsl": {
    "h": 64.337,
    "s": 47.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83745,
    "c": 0.10621,
    "h": 112
  },
  "luminance": 0.59804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBD17E

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

Preview Lab → · Contrast checker → · Palette generator →

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