#CFCA8A#CFCA8A

#CFCA8A is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.084 H 104.3°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CFCA8A
RGBrgb(207, 202, 138)
HSLhsl(56, 42%, 68%)
HSVhsv(56, 33%, 81%)
CMYKcmyk(0%, 2.4%, 33.3%, 18.8%)
CIE-LABlab(80.37, -7.93, 32.64)
CIE-LCHlch(80.37, 33.59, 103.65°)
OKLaboklab(82.8% -0.0206 0.0809)
OKLCHoklch(82.8% 0.084 104.3)
XYZxyz(51.4406, 57.3425, 32.3982)
Luminance0.5734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA8A #8A8FCF
analogous
#CFA78A #CFCA8A #B2CF8A
triadic
#CFCA8A #8ACFCA #CA8ACF
tetradic
#CFCA8A #8ACFA7 #8A8FCF #CF8AB2
square
#CFCA8A #8ACFA7 #8A8FCF #CF8AB2
split-complementary
#CFCA8A #8AB2CF #A78ACF
monochromatic
#9E9741 #BDB65F #CFCA8A #E1DEB5 #F3F1E1

Accessibility & contrast

On white

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

On black

12.47
#CFCA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA8A
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA8A#FFFFFF#000000##000000
##CFCA8A1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C586
Deuteranopia (green-blind)
#D7C98C
Tritanopia (blue-blind)
#D9C2BA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfca8a;
/* rgb */ color: rgb(207, 202, 138);
/* oklch */ color: oklch(82.8% 0.084 104.3);
Tailwind
colors: {
  custom: {
    50: '#dedaac',
    500: '#cfca8a',
    950: '#000000',
  },
}
SCSS
$custom: #cfca8a;
$custom-light: #dedaac;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca8a",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 138
  },
  "hsl": {
    "h": 55.652,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.82801,
    "c": 0.08351,
    "h": 104.3
  },
  "luminance": 0.57341
}

Semantic roles & 50–950 ramp

primary
#CFCA8A
secondary
#5A5FA4
accent
#3AB531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFCA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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