#CDCF81#CDCF81

#CDCF81 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.100 H 109.6°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#CDCF81
RGBrgb(205, 207, 129)
HSLhsl(62, 45%, 66%)
HSVhsv(62, 38%, 81%)
CMYKcmyk(1%, 0%, 37.7%, 18.8%)
CIE-LABlab(81.40, -12.31, 38.54)
CIE-LCHlch(81.40, 40.46, 107.72°)
OKLaboklab(83.53% -0.0336 0.0942)
OKLCHoklch(83.53% 0.1 109.6)
XYZxyz(51.4527, 59.1907, 29.4791)
Luminance0.5919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF81 #8381CF
analogous
#CFAA81 #CDCF81 #A6CF81
triadic
#CDCF81 #81CDCF #CF81CD
tetradic
#CDCF81 #81CFAA #8381CF #CF81A6
square
#CDCF81 #81CFAA #8381CF #CF81A6
split-complementary
#CDCF81 #81A6CF #AA81CF
monochromatic
#989B3B #BBBE55 #CDCF81 #DFE0AD #F0F1DA

Accessibility & contrast

On white

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

On black

12.84
#CDCF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF81
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF81#FFFFFF#000000##000000
##CDCF811.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC97B
Deuteranopia (green-blind)
#DBCC84
Tritanopia (blue-blind)
#D7C6BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcf81;
/* rgb */ color: rgb(205, 207, 129);
/* oklch */ color: oklch(83.5% 0.100 109.6);
Tailwind
colors: {
  custom: {
    50: '#dddda6',
    500: '#cdcf81',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf81;
$custom-light: #dddda6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf81",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 129
  },
  "hsl": {
    "h": 61.538,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8353,
    "c": 0.10006,
    "h": 109.6
  },
  "luminance": 0.5919
}

Semantic roles & 50–950 ramp

primary
#CDCF81
secondary
#5654A0
accent
#2EB831
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCF81

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

Preview Lab → · Contrast checker → · Palette generator →

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