#CFCD88#CFCD88

#CFCD88 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.089 H 106.8°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CFCD88
RGBrgb(207, 205, 136)
HSLhsl(58, 43%, 67%)
HSVhsv(58, 34%, 81%)
CMYKcmyk(0%, 1%, 34.3%, 18.8%)
CIE-LABlab(81.13, -9.70, 34.66)
CIE-LCHlch(81.13, 35.99, 105.64°)
OKLaboklab(83.39% -0.0258 0.0856)
OKLCHoklch(83.39% 0.089 106.8)
XYZxyz(52.0079, 58.7066, 31.8796)
Luminance0.5871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD88 #888ACF
analogous
#CFAA88 #CFCD88 #AECF88
triadic
#CFCD88 #88CFCD #CD88CF
tetradic
#CFCD88 #88CFAA #888ACF #CF88AE
square
#CFCD88 #88CFAA #888ACF #CF88AE
split-complementary
#CFCD88 #88AECF #AA88CF
monochromatic
#9D9B3F #BDBB5C #CFCD88 #E1DFB4 #F2F2DF

Accessibility & contrast

On white

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

On black

12.74
#CFCD88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD88
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD88#FFFFFF#000000##000000
##CFCD881.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C883
Deuteranopia (green-blind)
#DACB8B
Tritanopia (blue-blind)
#D9C5BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd88;
/* rgb */ color: rgb(207, 205, 136);
/* oklch */ color: oklch(83.4% 0.089 106.8);
Tailwind
colors: {
  custom: {
    50: '#dedcab',
    500: '#cfcd88',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd88;
$custom-light: #dedcab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd88",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 136
  },
  "hsl": {
    "h": 58.31,
    "s": 42.515,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83392,
    "c": 0.08938,
    "h": 106.8
  },
  "luminance": 0.58706
}

Semantic roles & 50–950 ramp

primary
#CFCD88
secondary
#585AA3
accent
#34B630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCD88

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

Preview Lab → · Contrast checker → · Palette generator →

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