#CBD17A#CBD17A

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

Color values

HEX#CBD17A
RGBrgb(203, 209, 122)
HSLhsl(64, 49%, 65%)
HSVhsv(64, 42%, 82%)
CMYKcmyk(2.9%, 0%, 41.6%, 18%)
CIE-LABlab(81.68, -14.87, 42.37)
CIE-LCHlch(81.68, 44.91, 109.34°)
OKLaboklab(83.68% -0.0414 0.1026)
OKLCHoklch(83.68% 0.111 112)
XYZxyz(50.9425, 59.7034, 27.2489)
Luminance0.5970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD17A #807AD1
analogous
#D1AC7A #CBD17A #A0D17A
triadic
#CBD17A #7ACBD1 #D17ACB
tetradic
#CBD17A #7AD1AC #807AD1 #D17AA0
square
#CBD17A #7AD1AC #807AD1 #D17AA0
split-complementary
#CBD17A #7AA0D1 #AC7AD1
monochromatic
#949B36 #B9C14D #CBD17A #DDE1A7 #EFF0D5

Accessibility & contrast

On white

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

On black

12.94
#CBD17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD17A
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD17A#FFFFFF#000000##000000
##CBD17A1.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbd17a;
/* rgb */ color: rgb(203, 209, 122);
/* oklch */ color: oklch(83.7% 0.111 112.0);
Tailwind
colors: {
  custom: {
    50: '#dcdfa2',
    500: '#cbd17a',
    950: '#000000',
  },
}
SCSS
$custom: #cbd17a;
$custom-light: #dcdfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd17a",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 122
  },
  "hsl": {
    "h": 64.138,
    "s": 48.603,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83684,
    "c": 0.11063,
    "h": 112
  },
  "luminance": 0.59703
}

Semantic roles & 50–950 ramp

primary
#CBD17A
secondary
#554FA0
accent
#2ABC34
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD17A

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

Preview Lab → · Contrast checker → · Palette generator →

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