#CFCA98#CFCA98

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

Color values

HEX#CFCA98
RGBrgb(207, 202, 152)
HSLhsl(55, 36%, 70%)
HSVhsv(55, 27%, 81%)
CMYKcmyk(0%, 2.4%, 26.6%, 18.8%)
CIE-LABlab(80.61, -6.14, 25.66)
CIE-LCHlch(80.61, 26.38, 103.45°)
OKLaboklab(83.07% -0.0149 0.0647)
OKLCHoklch(83.07% 0.066 102.9)
XYZxyz(52.5203, 57.7744, 38.0845)
Luminance0.5777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA98 #989DCF
analogous
#CFAE98 #CFCA98 #B9CF98
triadic
#CFCA98 #98CFCA #CA98CF
tetradic
#CFCA98 #98CFAE #989DCF #CF98B9
square
#CFCA98 #98CFAE #989DCF #CF98B9
split-complementary
#CFCA98 #98B9CF #AE98CF
monochromatic
#A19A4B #BCB56E #CFCA98 #E2DFC2 #F5F4EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCA98#FFFFFF#000000##000000
##CFCA981.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)
#D3C695
Deuteranopia (green-blind)
#D5C99A
Tritanopia (blue-blind)
#D7C3BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfca98;
/* rgb */ color: rgb(207, 202, 152);
/* oklch */ color: oklch(83.1% 0.066 102.9);
Tailwind
colors: {
  custom: {
    50: '#dedab6',
    500: '#cfca98',
    950: '#000000',
  },
}
SCSS
$custom: #cfca98;
$custom-light: #dedab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca98",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 152
  },
  "hsl": {
    "h": 54.545,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83071,
    "c": 0.0664,
    "h": 102.9
  },
  "luminance": 0.57773
}

Semantic roles & 50–950 ramp

primary
#CFCA98
secondary
#676CA5
accent
#41AF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFCA98

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

Preview Lab → · Contrast checker → · Palette generator →

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