#CFCC95#CFCC95

#CFCC95 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.4% C 0.072 H 105.2°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#CFCC95
RGBrgb(207, 204, 149)
HSLhsl(57, 38%, 70%)
HSVhsv(57, 28%, 81%)
CMYKcmyk(0%, 1.4%, 28%, 18.8%)
CIE-LABlab(81.08, -7.57, 27.86)
CIE-LCHlch(81.08, 28.87, 105.19°)
OKLaboklab(83.43% -0.019 0.07)
OKLCHoklch(83.43% 0.073 105.2)
XYZxyz(52.7500, 58.6220, 36.9643)
Luminance0.5862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC95 #9598CF
analogous
#CFAF95 #CFCC95 #B5CF95
triadic
#CFCC95 #95CFCC #CC95CF
tetradic
#CFCC95 #95CFAF #9598CF #CF95B5
square
#CFCC95 #95CFAF #9598CF #CF95B5
split-complementary
#CFCC95 #95B5CF #AF95CF
monochromatic
#A19C49 #BCB86B #CFCC95 #E2E0BF #F5F5E9

Accessibility & contrast

On white

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

On black

12.72
#CFCC95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC95
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC95#FFFFFF#000000##000000
##CFCC951.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C891
Deuteranopia (green-blind)
#D7CB97
Tritanopia (blue-blind)
#D8C5BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcc95;
/* rgb */ color: rgb(207, 204, 149);
/* oklch */ color: oklch(83.4% 0.072 105.2);
Tailwind
colors: {
  custom: {
    50: '#dedbb4',
    500: '#cfcc95',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc95;
$custom-light: #dedbb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc95",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 149
  },
  "hsl": {
    "h": 56.897,
    "s": 37.662,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83426,
    "c": 0.0725,
    "h": 105.2
  },
  "luminance": 0.58621
}

Semantic roles & 50–950 ramp

primary
#CFCC95
secondary
#6467A5
accent
#3BB135
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCC95

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

Preview Lab → · Contrast checker → · Palette generator →

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