#CFCA97#CFCA97

#CFCA97 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 83.1% C 0.068 H 103.1°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CFCA97
RGBrgb(207, 202, 151)
HSLhsl(55, 37%, 70%)
HSVhsv(55, 27%, 81%)
CMYKcmyk(0%, 2.4%, 27.1%, 18.8%)
CIE-LABlab(80.59, -6.27, 26.16)
CIE-LCHlch(80.59, 26.90, 103.48°)
OKLaboklab(83.05% -0.0153 0.0659)
OKLCHoklch(83.05% 0.068 103.1)
XYZxyz(52.4387, 57.7418, 37.6550)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA97 #979CCF
analogous
#CFAE97 #CFCA97 #B8CF97
triadic
#CFCA97 #97CFCA #CA97CF
tetradic
#CFCA97 #97CFAE #979CCF #CF97B8
square
#CFCA97 #97CFAE #979CCF #CF97B8
split-complementary
#CFCA97 #97B8CF #AE97CF
monochromatic
#A1994A #BCB56D #CFCA97 #E2DFC1 #F5F4EA

Accessibility & contrast

On white

1.67
#CFCA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#CFCA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA97
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA97#FFFFFF#000000##000000
##CFCA971.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C694
Deuteranopia (green-blind)
#D5C999
Tritanopia (blue-blind)
#D7C3BC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfca97;
/* rgb */ color: rgb(207, 202, 151);
/* oklch */ color: oklch(83.1% 0.068 103.1);
Tailwind
colors: {
  custom: {
    50: '#dedab6',
    500: '#cfca97',
    950: '#000000',
  },
}
SCSS
$custom: #cfca97;
$custom-light: #dedab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca97",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 151
  },
  "hsl": {
    "h": 54.643,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83051,
    "c": 0.06765,
    "h": 103.1
  },
  "luminance": 0.57741
}

Semantic roles & 50–950 ramp

primary
#CFCA97
secondary
#666BA5
accent
#41B036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFCA97

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

Preview Lab → · Contrast checker → · Palette generator →

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