#CFCA89#CFCA89

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

Color values

HEX#CFCA89
RGBrgb(207, 202, 137)
HSLhsl(56, 42%, 67%)
HSVhsv(56, 34%, 81%)
CMYKcmyk(0%, 2.4%, 33.8%, 18.8%)
CIE-LABlab(80.36, -8.05, 33.13)
CIE-LCHlch(80.36, 34.10, 103.66°)
OKLaboklab(82.78% -0.021 0.0821)
OKLCHoklch(82.78% 0.085 104.3)
XYZxyz(51.3686, 57.3137, 32.0187)
Luminance0.5731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA89 #898ECF
analogous
#CFA789 #CFCA89 #B1CF89
triadic
#CFCA89 #89CFCA #CA89CF
tetradic
#CFCA89 #89CFA7 #898ECF #CF89B1
square
#CFCA89 #89CFA7 #898ECF #CF89B1
split-complementary
#CFCA89 #89B1CF #A789CF
monochromatic
#9E9740 #BDB65D #CFCA89 #E1DEB5 #F2F1E0

Accessibility & contrast

On white

1.69
#CFCA89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CFCA89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA89
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA89#FFFFFF#000000##000000
##CFCA891.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfca89;
/* rgb */ color: rgb(207, 202, 137);
/* oklch */ color: oklch(82.8% 0.085 104.3);
Tailwind
colors: {
  custom: {
    50: '#dedaac',
    500: '#cfca89',
    950: '#000000',
  },
}
SCSS
$custom: #cfca89;
$custom-light: #dedaac;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca89",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 137
  },
  "hsl": {
    "h": 55.714,
    "s": 42.169,
    "l": 67.451
  },
  "oklch": {
    "l": 0.82783,
    "c": 0.0847,
    "h": 104.3
  },
  "luminance": 0.57313
}

Semantic roles & 50–950 ramp

primary
#CFCA89
secondary
#595EA3
accent
#3AB530
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFCA89

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

Preview Lab → · Contrast checker → · Palette generator →

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