#CFCE95#CFCE95

#CFCE95 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.8% C 0.075 H 107.1°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#CFCE95
RGBrgb(207, 206, 149)
HSLhsl(59, 38%, 70%)
HSVhsv(59, 28%, 81%)
CMYKcmyk(0%, 0.5%, 28%, 18.8%)
CIE-LABlab(81.61, -8.59, 28.57)
CIE-LCHlch(81.61, 29.83, 106.74°)
OKLaboklab(83.84% -0.022 0.0716)
OKLCHoklch(83.84% 0.075 107.1)
XYZxyz(53.2284, 59.5788, 37.1238)
Luminance0.5958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE95 #9596CF
analogous
#CFB195 #CFCE95 #B3CF95
triadic
#CFCE95 #95CFCE #CE95CF
tetradic
#CFCE95 #95CFB1 #9596CF #CF95B3
square
#CFCE95 #95CFB1 #9596CF #CF95B3
split-complementary
#CFCE95 #95B3CF #B195CF
monochromatic
#A19F49 #BCBB6B #CFCE95 #E2E1BF #F5F5E9

Accessibility & contrast

On white

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

On black

12.92
#CFCE95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE95
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE95#FFFFFF#000000##000000
##CFCE951.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C991
Deuteranopia (green-blind)
#D9CC97
Tritanopia (blue-blind)
#D7C7BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfce95;
/* rgb */ color: rgb(207, 206, 149);
/* oklch */ color: oklch(83.8% 0.075 107.1);
Tailwind
colors: {
  custom: {
    50: '#dedcb4',
    500: '#cfce95',
    950: '#000000',
  },
}
SCSS
$custom: #cfce95;
$custom-light: #dedcb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce95",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 149
  },
  "hsl": {
    "h": 58.966,
    "s": 37.662,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83842,
    "c": 0.07493,
    "h": 107.1
  },
  "luminance": 0.59578
}

Semantic roles & 50–950 ramp

primary
#CFCE95
secondary
#6465A5
accent
#37B135
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCE95

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

Preview Lab → · Contrast checker → · Palette generator →

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