#CFCD95#CFCD95

#CFCD95 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.074 H 106.2°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#CFCD95
RGBrgb(207, 205, 149)
HSLhsl(58, 38%, 70%)
HSVhsv(58, 28%, 81%)
CMYKcmyk(0%, 1%, 28%, 18.8%)
CIE-LABlab(81.35, -8.08, 28.22)
CIE-LCHlch(81.35, 29.35, 105.98°)
OKLaboklab(83.63% -0.0205 0.0708)
OKLCHoklch(83.63% 0.074 106.2)
XYZxyz(52.9884, 59.0988, 37.0438)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD95 #9597CF
analogous
#CFB095 #CFCD95 #B4CF95
triadic
#CFCD95 #95CFCD #CD95CF
tetradic
#CFCD95 #95CFB0 #9597CF #CF95B4
square
#CFCD95 #95CFB0 #9597CF #CF95B4
split-complementary
#CFCD95 #95B4CF #B095CF
monochromatic
#A19E49 #BCB96B #CFCD95 #E2E1BF #F5F5E9

Accessibility & contrast

On white

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

On black

12.82
#CFCD95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD95
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD95#FFFFFF#000000##000000
##CFCD951.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C991
Deuteranopia (green-blind)
#D8CB97
Tritanopia (blue-blind)
#D7C6BE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcd95;
/* rgb */ color: rgb(207, 205, 149);
/* oklch */ color: oklch(83.6% 0.074 106.2);
Tailwind
colors: {
  custom: {
    50: '#dedcb4',
    500: '#cfcd95',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd95;
$custom-light: #dedcb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd95",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 149
  },
  "hsl": {
    "h": 57.931,
    "s": 37.662,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83634,
    "c": 0.0737,
    "h": 106.2
  },
  "luminance": 0.59098
}

Semantic roles & 50–950 ramp

primary
#CFCD95
secondary
#6466A5
accent
#39B135
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCD95

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

Preview Lab → · Contrast checker → · Palette generator →

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