#CFCD7D#CFCD7D

#CFCD7D is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.102 H 107.2°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#CFCD7D
RGBrgb(207, 205, 125)
HSLhsl(59, 46%, 65%)
HSVhsv(59, 40%, 81%)
CMYKcmyk(0%, 1%, 39.6%, 18.8%)
CIE-LABlab(80.97, -10.95, 40.04)
CIE-LCHlch(80.97, 41.51, 105.30°)
OKLaboklab(83.21% -0.0301 0.0975)
OKLCHoklch(83.21% 0.102 107.2)
XYZxyz(51.2659, 58.4098, 27.9717)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD7D #7D7FCF
analogous
#CFA47D #CFCD7D #A8CF7D
triadic
#CFCD7D #7DCFCD #CD7DCF
tetradic
#CFCD7D #7DCFA4 #7D7FCF #CF7DA8
square
#CFCD7D #7DCFA4 #7D7FCF #CF7DA8
split-complementary
#CFCD7D #7DA8CF #A47DCF
monochromatic
#999739 #BEBC50 #CFCD7D #E0DEAA #F0EFD6

Accessibility & contrast

On white

1.66
#CFCD7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#CFCD7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD7D
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD7D#FFFFFF#000000##000000
##CFCD7D1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C777
Deuteranopia (green-blind)
#DBCB80
Tritanopia (blue-blind)
#DAC4B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd7d;
/* rgb */ color: rgb(207, 205, 125);
/* oklch */ color: oklch(83.2% 0.102 107.2);
Tailwind
colors: {
  custom: {
    50: '#dfdca4',
    500: '#cfcd7d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd7d;
$custom-light: #dfdca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd7d",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 125
  },
  "hsl": {
    "h": 58.537,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83208,
    "c": 0.102,
    "h": 107.2
  },
  "luminance": 0.58409
}

Semantic roles & 50–950 ramp

primary
#CFCD7D
secondary
#51539F
accent
#30B92C
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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