#CFCD7E#CFCD7E

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

Color values

HEX#CFCD7E
RGBrgb(207, 205, 126)
HSLhsl(59, 46%, 65%)
HSVhsv(59, 39%, 81%)
CMYKcmyk(0%, 1%, 39.1%, 18.8%)
CIE-LABlab(80.98, -10.84, 39.56)
CIE-LCHlch(80.98, 41.02, 105.33°)
OKLaboklab(83.22% -0.0297 0.0964)
OKLCHoklch(83.22% 0.101 107.1)
XYZxyz(51.3301, 58.4355, 28.3098)
Luminance0.5843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD7E #7E80CF
analogous
#CFA57E #CFCD7E #A8CF7E
triadic
#CFCD7E #7ECFCD #CD7ECF
tetradic
#CFCD7E #7ECFA5 #7E80CF #CF7EA8
square
#CFCD7E #7ECFA5 #7E80CF #CF7EA8
split-complementary
#CFCD7E #7EA8CF #A57ECF
monochromatic
#999739 #BEBC51 #CFCD7E #E0DEAB #F0F0D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCD7E#FFFFFF#000000##000000
##CFCD7E1.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcd7e;
/* rgb */ color: rgb(207, 205, 126);
/* oklch */ color: oklch(83.2% 0.101 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfdca4',
    500: '#cfcd7e',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd7e;
$custom-light: #dfdca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd7e",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 58.519,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83224,
    "c": 0.10088,
    "h": 107.1
  },
  "luminance": 0.58434
}

Semantic roles & 50–950 ramp

primary
#CFCD7E
secondary
#52549F
accent
#30B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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