#CFC697#CFC697

#CFC697 is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.2% C 0.063 H 98.5°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CFC697
RGBrgb(207, 198, 151)
HSLhsl(50, 37%, 70%)
HSVhsv(50, 27%, 81%)
CMYKcmyk(0%, 4.3%, 27.1%, 18.8%)
CIE-LABlab(79.55, -4.20, 24.74)
CIE-LCHlch(79.55, 25.10, 99.63°)
OKLaboklab(82.23% -0.0093 0.0625)
OKLCHoklch(82.23% 0.063 98.5)
XYZxyz(51.5124, 55.8890, 37.3462)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC697 #97A0CF
analogous
#CFAA97 #CFC697 #BCCF97
triadic
#CFC697 #97CFC6 #C697CF
tetradic
#CFC697 #97CFAA #97A0CF #CF97BC
square
#CFC697 #97CFAA #97A0CF #CF97BC
split-complementary
#CFC697 #97BCCF #AA97CF
monochromatic
#A1934A #BCAF6D #CFC697 #E2DDC1 #F5F4EA

Accessibility & contrast

On white

1.72
#CFC697 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CFC697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC697
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC697#FFFFFF#000000##000000
##CFC6971.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC394
Deuteranopia (green-blind)
#D2C799
Tritanopia (blue-blind)
#D8BFB9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc697;
/* rgb */ color: rgb(207, 198, 151);
/* oklch */ color: oklch(82.2% 0.063 98.5);
Tailwind
colors: {
  custom: {
    50: '#ded7b6',
    500: '#cfc697',
    950: '#000000',
  },
}
SCSS
$custom: #cfc697;
$custom-light: #ded7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc697",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 151
  },
  "hsl": {
    "h": 50.357,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.82225,
    "c": 0.06319,
    "h": 98.5
  },
  "luminance": 0.55888
}

Semantic roles & 50–950 ramp

primary
#CFC697
secondary
#6670A5
accent
#49B036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFC697

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

Preview Lab → · Contrast checker → · Palette generator →

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