#CFCD91#CFCD91

#CFCD91 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.079 H 106.4°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#CFCD91
RGBrgb(207, 205, 145)
HSLhsl(58, 39%, 69%)
HSVhsv(58, 30%, 81%)
CMYKcmyk(0%, 1%, 30%, 18.8%)
CIE-LABlab(81.28, -8.60, 30.21)
CIE-LCHlch(81.28, 31.41, 105.89°)
OKLaboklab(83.56% -0.0221 0.0754)
OKLCHoklch(83.56% 0.079 106.4)
XYZxyz(52.6746, 58.9733, 35.3907)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD91 #9193CF
analogous
#CFAE91 #CFCD91 #B2CF91
triadic
#CFCD91 #91CFCD #CD91CF
tetradic
#CFCD91 #91CFAE #9193CF #CF91B2
square
#CFCD91 #91CFAE #9193CF #CF91B2
split-complementary
#CFCD91 #91B2CF #AE91CF
monochromatic
#A09D46 #BCBA66 #CFCD91 #E2E0BC #F4F4E6

Accessibility & contrast

On white

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

On black

12.79
#CFCD91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD91
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD91#FFFFFF#000000##000000
##CFCD911.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C88D
Deuteranopia (green-blind)
#D8CB93
Tritanopia (blue-blind)
#D8C5BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcd91;
/* rgb */ color: rgb(207, 205, 145);
/* oklch */ color: oklch(83.6% 0.079 106.4);
Tailwind
colors: {
  custom: {
    50: '#dedcb1',
    500: '#cfcd91',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd91;
$custom-light: #dedcb1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd91",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 145
  },
  "hsl": {
    "h": 58.065,
    "s": 39.241,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83557,
    "c": 0.07861,
    "h": 106.4
  },
  "luminance": 0.58972
}

Semantic roles & 50–950 ramp

primary
#CFCD91
secondary
#6062A4
accent
#37B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151511
muted
#848481

Preview Lab

Preview with #CFCD91

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

Preview Lab → · Contrast checker → · Palette generator →

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