#CFCD7F#CFCD7F

#CFCD7F is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.100 H 107.1°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#CFCD7F
RGBrgb(207, 205, 127)
HSLhsl(59, 45%, 65%)
HSVhsv(59, 39%, 81%)
CMYKcmyk(0%, 1%, 38.6%, 18.8%)
CIE-LABlab(80.99, -10.73, 39.07)
CIE-LCHlch(80.99, 40.52, 105.36°)
OKLaboklab(83.24% -0.0293 0.0953)
OKLCHoklch(83.24% 0.1 107.1)
XYZxyz(51.3949, 58.4614, 28.6514)
Luminance0.5846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD7F #7F81CF
analogous
#CFA57F #CFCD7F #A9CF7F
triadic
#CFCD7F #7FCFCD #CD7FCF
tetradic
#CFCD7F #7FCFA5 #7F81CF #CF7FA9
square
#CFCD7F #7FCFA5 #7F81CF #CF7FA9
split-complementary
#CFCD7F #7FA9CF #A57FCF
monochromatic
#9A973A #BEBC52 #CFCD7F #E0DEAC #F0F0D8

Accessibility & contrast

On white

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

On black

12.69
#CFCD7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD7F
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD7F#FFFFFF#000000##000000
##CFCD7F1.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C779
Deuteranopia (green-blind)
#DBCB82
Tritanopia (blue-blind)
#DAC4BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd7f;
/* rgb */ color: rgb(207, 205, 127);
/* oklch */ color: oklch(83.2% 0.100 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfdca5',
    500: '#cfcd7f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd7f;
$custom-light: #dfdca5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd7f",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 127
  },
  "hsl": {
    "h": 58.5,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.8324,
    "c": 0.09976,
    "h": 107.1
  },
  "luminance": 0.5846
}

Semantic roles & 50–950 ramp

primary
#CFCD7F
secondary
#5354A0
accent
#30B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCD7F

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

Preview Lab → · Contrast checker → · Palette generator →

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