#CDCF7F#CDCF7F

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

Color values

HEX#CDCF7F
RGBrgb(205, 207, 127)
HSLhsl(62, 45%, 65%)
HSVhsv(62, 39%, 81%)
CMYKcmyk(1%, 0%, 38.6%, 18.8%)
CIE-LABlab(81.37, -12.54, 39.51)
CIE-LCHlch(81.37, 41.45, 107.60°)
OKLaboklab(83.5% -0.0344 0.0964)
OKLCHoklch(83.5% 0.102 109.7)
XYZxyz(51.3211, 59.1380, 28.7858)
Luminance0.5914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF7F #817FCF
analogous
#CFA97F #CDCF7F #A5CF7F
triadic
#CDCF7F #7FCDCF #CF7FCD
tetradic
#CDCF7F #7FCFA9 #817FCF #CF7FA5
square
#CDCF7F #7FCFA9 #817FCF #CF7FA5
split-complementary
#CDCF7F #7FA5CF #A97FCF
monochromatic
#979A3A #BCBE52 #CDCF7F #DEE0AC #F0F0D8

Accessibility & contrast

On white

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

On black

12.83
#CDCF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF7F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF7F#FFFFFF#000000##000000
##CDCF7F1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcf7f;
/* rgb */ color: rgb(205, 207, 127);
/* oklch */ color: oklch(83.5% 0.102 109.7);
Tailwind
colors: {
  custom: {
    50: '#dddda5',
    500: '#cdcf7f',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf7f;
$custom-light: #dddda5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf7f",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 127
  },
  "hsl": {
    "h": 61.5,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83498,
    "c": 0.10234,
    "h": 109.7
  },
  "luminance": 0.59137
}

Semantic roles & 50–950 ramp

primary
#CDCF7F
secondary
#5453A0
accent
#2DB930
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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