#CDCB79#CDCB79

#CDCB79 is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.104 H 107.3°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#CDCB79
RGBrgb(205, 203, 121)
HSLhsl(59, 46%, 64%)
HSVhsv(59, 41%, 80%)
CMYKcmyk(0%, 1%, 41%, 19.6%)
CIE-LABlab(80.22, -11.16, 41.08)
CIE-LCHlch(80.22, 42.56, 105.20°)
OKLaboklab(82.56% -0.0309 0.0996)
OKLCHoklch(82.56% 0.104 107.3)
XYZxyz(49.9848, 57.0726, 26.4685)
Luminance0.5707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB79 #797BCD
analogous
#CDA179 #CDCB79 #A5CD79
triadic
#CDCB79 #79CDCB #CB79CD
tetradic
#CDCB79 #79CDA1 #797BCD #CD79A5
square
#CDCB79 #79CDA1 #797BCD #CD79A5
split-complementary
#CDCB79 #79A5CD #A179CD
monochromatic
#949237 #BCBA4C #CDCB79 #DEDCA6 #EEEED2

Accessibility & contrast

On white

1.69
#CDCB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#CDCB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB79
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB79#FFFFFF#000000##000000
##CDCB791.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C573
Deuteranopia (green-blind)
#D9C97D
Tritanopia (blue-blind)
#D8C1B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcb79;
/* rgb */ color: rgb(205, 203, 121);
/* oklch */ color: oklch(82.6% 0.104 107.3);
Tailwind
colors: {
  custom: {
    50: '#dddaa1',
    500: '#cdcb79',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb79;
$custom-light: #dddaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb79",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 121
  },
  "hsl": {
    "h": 58.571,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82559,
    "c": 0.1043,
    "h": 107.3
  },
  "luminance": 0.57071
}

Semantic roles & 50–950 ramp

primary
#CDCB79
secondary
#50519B
accent
#30B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDCB79

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

Preview Lab → · Contrast checker → · Palette generator →

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