#CFCA8B#CFCA8B

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

Color values

HEX#CFCA8B
RGBrgb(207, 202, 139)
HSLhsl(56, 41%, 68%)
HSVhsv(56, 33%, 81%)
CMYKcmyk(0%, 2.4%, 32.9%, 18.8%)
CIE-LABlab(80.39, -7.81, 32.14)
CIE-LCHlch(80.39, 33.08, 103.65°)
OKLaboklab(82.82% -0.0202 0.0798)
OKLCHoklch(82.82% 0.082 104.2)
XYZxyz(51.5134, 57.3716, 32.7813)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA8B #8B90CF
analogous
#CFA88B #CFCA8B #B2CF8B
triadic
#CFCA8B #8BCFCA #CA8BCF
tetradic
#CFCA8B #8BCFA8 #8B90CF #CF8BB2
square
#CFCA8B #8BCFA8 #8B90CF #CF8BB2
split-complementary
#CFCA8B #8BB2CF #A88BCF
monochromatic
#9E9741 #BDB660 #CFCA8B #E1DEB6 #F3F2E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCA8B#FFFFFF#000000##000000
##CFCA8B1.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)
#D5C587
Deuteranopia (green-blind)
#D7C98D
Tritanopia (blue-blind)
#D9C2BA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfca8b;
/* rgb */ color: rgb(207, 202, 139);
/* oklch */ color: oklch(82.8% 0.082 104.2);
Tailwind
colors: {
  custom: {
    50: '#dedaad',
    500: '#cfca8b',
    950: '#000000',
  },
}
SCSS
$custom: #cfca8b;
$custom-light: #dedaad;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca8b",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 139
  },
  "hsl": {
    "h": 55.588,
    "s": 41.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.82819,
    "c": 0.08231,
    "h": 104.2
  },
  "luminance": 0.57371
}

Semantic roles & 50–950 ramp

primary
#CFCA8B
secondary
#5A60A4
accent
#3BB531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFCA8B

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

Preview Lab → · Contrast checker → · Palette generator →

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