#CFCA95#CFCA95

#CFCA95 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 83.0% C 0.070 H 103.3°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CFCA95
RGBrgb(207, 202, 149)
HSLhsl(55, 38%, 70%)
HSVhsv(55, 28%, 81%)
CMYKcmyk(0%, 2.4%, 28%, 18.8%)
CIE-LABlab(80.56, -6.54, 27.16)
CIE-LCHlch(80.56, 27.93, 103.53°)
OKLaboklab(83.01% -0.0161 0.0683)
OKLCHoklch(83.01% 0.07 103.3)
XYZxyz(52.2777, 57.6774, 36.8069)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA95 #959ACF
analogous
#CFAD95 #CFCA95 #B7CF95
triadic
#CFCA95 #95CFCA #CA95CF
tetradic
#CFCA95 #95CFAD #959ACF #CF95B7
square
#CFCA95 #95CFAD #959ACF #CF95B7
split-complementary
#CFCA95 #95B7CF #AD95CF
monochromatic
#A19949 #BCB56B #CFCA95 #E2DFBF #F5F4E9

Accessibility & contrast

On white

1.68
#CFCA95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CFCA95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA95
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA95#FFFFFF#000000##000000
##CFCA951.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C692
Deuteranopia (green-blind)
#D6C997
Tritanopia (blue-blind)
#D8C3BC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfca95;
/* rgb */ color: rgb(207, 202, 149);
/* oklch */ color: oklch(83.0% 0.070 103.3);
Tailwind
colors: {
  custom: {
    50: '#dedab4',
    500: '#cfca95',
    950: '#000000',
  },
}
SCSS
$custom: #cfca95;
$custom-light: #dedab4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca95",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 149
  },
  "hsl": {
    "h": 54.828,
    "s": 37.662,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83011,
    "c": 0.07014,
    "h": 103.3
  },
  "luminance": 0.57676
}

Semantic roles & 50–950 ramp

primary
#CFCA95
secondary
#6469A5
accent
#40B135
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFCA95

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

Preview Lab → · Contrast checker → · Palette generator →

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