#CDCF71#CDCF71

#CDCF71 is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.3% C 0.118 H 109.8°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#CDCF71
RGBrgb(205, 207, 113)
HSLhsl(61, 49%, 63%)
HSVhsv(61, 45%, 81%)
CMYKcmyk(1%, 0%, 45.4%, 18.8%)
CIE-LABlab(81.18, -13.99, 46.22)
CIE-LCHlch(81.18, 48.29, 106.84°)
OKLaboklab(83.29% -0.0398 0.1106)
OKLCHoklch(83.29% 0.118 109.8)
XYZxyz(50.4712, 58.7981, 24.3100)
Luminance0.5880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF71 #7371CF
analogous
#CFA271 #CDCF71 #9ECF71
triadic
#CDCF71 #71CDCF #CF71CD
tetradic
#CDCF71 #71CFA2 #7371CF #CF719E
square
#CDCF71 #71CFA2 #7371CF #CF719E
split-complementary
#CDCF71 #719ECF #A271CF
monochromatic
#929432 #BDC043 #CDCF71 #DDDE9F #EDEECC

Accessibility & contrast

On white

1.65
#CDCF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#CDCF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF71
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF71#FFFFFF#000000##000000
##CDCF711.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC869
Deuteranopia (green-blind)
#DDCB76
Tritanopia (blue-blind)
#D8C5B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcf71;
/* rgb */ color: rgb(205, 207, 113);
/* oklch */ color: oklch(83.3% 0.118 109.8);
Tailwind
colors: {
  custom: {
    50: '#dedd9c',
    500: '#cdcf71',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf71;
$custom-light: #dedd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf71",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 61.277,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83289,
    "c": 0.11751,
    "h": 109.8
  },
  "luminance": 0.58797
}

Semantic roles & 50–950 ramp

primary
#CDCF71
secondary
#4C4B9A
accent
#29BD2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCF71

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

Preview Lab → · Contrast checker → · Palette generator →

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