#CDCF7D#CDCF7D

#CDCF7D is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.5% C 0.105 H 109.7°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#CDCF7D
RGBrgb(205, 207, 125)
HSLhsl(61, 46%, 65%)
HSVhsv(61, 40%, 81%)
CMYKcmyk(1%, 0%, 39.6%, 18.8%)
CIE-LABlab(81.34, -12.76, 40.48)
CIE-LCHlch(81.34, 42.44, 107.49°)
OKLaboklab(83.47% -0.0352 0.0985)
OKLCHoklch(83.47% 0.105 109.7)
XYZxyz(51.1920, 59.0864, 28.1062)
Luminance0.5908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF7D #7F7DCF
analogous
#CFA87D #CDCF7D #A4CF7D
triadic
#CDCF7D #7DCDCF #CF7DCD
tetradic
#CDCF7D #7DCFA8 #7F7DCF #CF7DA4
square
#CDCF7D #7DCFA8 #7F7DCF #CF7DA4
split-complementary
#CDCF7D #7DA4CF #A87DCF
monochromatic
#979939 #BCBE50 #CDCF7D #DEE0AA #EFF0D6

Accessibility & contrast

On white

1.64
#CDCF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#CDCF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF7D
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF7D#FFFFFF#000000##000000
##CDCF7D1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC977
Deuteranopia (green-blind)
#DCCB81
Tritanopia (blue-blind)
#D7C6BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcf7d;
/* rgb */ color: rgb(205, 207, 125);
/* oklch */ color: oklch(83.5% 0.105 109.7);
Tailwind
colors: {
  custom: {
    50: '#dddda4',
    500: '#cdcf7d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf7d;
$custom-light: #dddda4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf7d",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 125
  },
  "hsl": {
    "h": 61.463,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83466,
    "c": 0.10458,
    "h": 109.7
  },
  "luminance": 0.59085
}

Semantic roles & 50–950 ramp

primary
#CDCF7D
secondary
#53519F
accent
#2CB930
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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