#CFCA76#CFCA76

#CFCA76 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.106 H 105.5°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CFCA76
RGBrgb(207, 202, 118)
HSLhsl(57, 48%, 64%)
HSVhsv(57, 43%, 81%)
CMYKcmyk(0%, 2.4%, 43%, 18.8%)
CIE-LABlab(80.08, -10.16, 42.43)
CIE-LCHlch(80.08, 43.63, 103.47°)
OKLaboklab(82.47% -0.0284 0.1024)
OKLCHoklch(82.47% 0.106 105.5)
XYZxyz(50.1236, 56.8157, 25.4622)
Luminance0.5681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA76 #767BCF
analogous
#CF9D76 #CFCA76 #A7CF76
triadic
#CFCA76 #76CFCA #CA76CF
tetradic
#CFCA76 #76CF9D #767BCF #CF76A7
square
#CFCA76 #76CF9D #767BCF #CF76A7
split-complementary
#CFCA76 #76A7CF #9D76CF
monochromatic
#969135 #BFB849 #CFCA76 #DFDCA3 #EFEDD1

Accessibility & contrast

On white

1.70
#CFCA76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#CFCA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA76
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA76#FFFFFF#000000##000000
##CFCA761.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46F
Deuteranopia (green-blind)
#D9C87A
Tritanopia (blue-blind)
#DBC0B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfca76;
/* rgb */ color: rgb(207, 202, 118);
/* oklch */ color: oklch(82.5% 0.106 105.5);
Tailwind
colors: {
  custom: {
    50: '#dfda9f',
    500: '#cfca76',
    950: '#000000',
  },
}
SCSS
$custom: #cfca76;
$custom-light: #dfda9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca76",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 118
  },
  "hsl": {
    "h": 56.629,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8247,
    "c": 0.10631,
    "h": 105.5
  },
  "luminance": 0.56814
}

Semantic roles & 50–950 ramp

primary
#CFCA76
secondary
#4D529C
accent
#32BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFCA76

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

Preview Lab → · Contrast checker → · Palette generator →

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