#CFCA71#CFCA71

#CFCA71 is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.112 H 105.8°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#CFCA71
RGBrgb(207, 202, 113)
HSLhsl(57, 49%, 63%)
HSVhsv(57, 45%, 81%)
CMYKcmyk(0%, 2.4%, 45.4%, 18.8%)
CIE-LABlab(80.01, -10.66, 44.83)
CIE-LCHlch(80.01, 46.08, 103.37°)
OKLaboklab(82.4% -0.0303 0.1075)
OKLCHoklch(82.4% 0.112 105.8)
XYZxyz(49.8344, 56.7000, 23.9386)
Luminance0.5670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA71 #7176CF
analogous
#CF9B71 #CFCA71 #A5CF71
triadic
#CFCA71 #71CFCA #CA71CF
tetradic
#CFCA71 #71CF9B #7176CF #CF71A5
square
#CFCA71 #71CF9B #7176CF #CF71A5
split-complementary
#CFCA71 #71A5CF #9B71CF
monochromatic
#948E32 #C0B943 #CFCA71 #DEDB9F #EEECCC

Accessibility & contrast

On white

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

On black

12.34
#CFCA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA71
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA71#FFFFFF#000000##000000
##CFCA711.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46A
Deuteranopia (green-blind)
#DAC875
Tritanopia (blue-blind)
#DBC0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca71;
/* rgb */ color: rgb(207, 202, 113);
/* oklch */ color: oklch(82.4% 0.112 105.8);
Tailwind
colors: {
  custom: {
    50: '#dfda9b',
    500: '#cfca71',
    950: '#000000',
  },
}
SCSS
$custom: #cfca71;
$custom-light: #dfda9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca71",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 56.809,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82397,
    "c": 0.11166,
    "h": 105.8
  },
  "luminance": 0.56699
}

Semantic roles & 50–950 ramp

primary
#CFCA71
secondary
#4B4F9A
accent
#31BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFCA71

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

Preview Lab → · Contrast checker → · Palette generator →

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