#CFCD9F#CFCD9F

#CFCD9F is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.8% C 0.061 H 105.6°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#CFCD9F
RGBrgb(207, 205, 159)
HSLhsl(58, 33%, 72%)
HSVhsv(58, 23%, 81%)
CMYKcmyk(0%, 1%, 23.2%, 18.8%)
CIE-LABlab(81.53, -6.72, 23.23)
CIE-LCHlch(81.53, 24.18, 106.14°)
OKLaboklab(83.84% -0.0164 0.0589)
OKLCHoklch(83.84% 0.061 105.6)
XYZxyz(53.8213, 59.4320, 41.4304)
Luminance0.5943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD9F #9FA1CF
analogous
#CFB59F #CFCD9F #B9CF9F
triadic
#CFCD9F #9FCFCD #CD9FCF
tetradic
#CFCD9F #9FCFB5 #9FA1CF #CF9FB9
square
#CFCD9F #9FCFB5 #9FA1CF #CF9FB9
split-complementary
#CFCD9F #9FB9CF #B59FCF
monochromatic
#A29F51 #BBB876 #CFCD9F #E3E2C8 #F5F4EB

Accessibility & contrast

On white

1.63
#CFCD9F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#CFCD9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD9F
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD9F#FFFFFF#000000##000000
##CFCD9F1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C99C
Deuteranopia (green-blind)
#D6CCA1
Tritanopia (blue-blind)
#D6C7C1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfcd9f;
/* rgb */ color: rgb(207, 205, 159);
/* oklch */ color: oklch(83.8% 0.061 105.6);
Tailwind
colors: {
  custom: {
    50: '#dedcbb',
    500: '#cfcd9f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd9f;
$custom-light: #dedcbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd9f",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 159
  },
  "hsl": {
    "h": 57.5,
    "s": 33.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.83838,
    "c": 0.06117,
    "h": 105.6
  },
  "luminance": 0.59431
}

Semantic roles & 50–950 ramp

primary
#CFCD9F
secondary
#6E70A5
accent
#3EAC39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151512
muted
#848482

Preview Lab

Preview with #CFCD9F

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

Preview Lab → · Contrast checker → · Palette generator →

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