#CFC571#CFC571

#CFC571 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.106 H 102.5°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CFC571
RGBrgb(207, 197, 113)
HSLhsl(54, 49%, 63%)
HSVhsv(54, 45%, 81%)
CMYKcmyk(0%, 4.8%, 45.4%, 18.8%)
CIE-LABlab(78.69, -8.10, 43.20)
CIE-LCHlch(78.69, 43.95, 100.62°)
OKLaboklab(81.35% -0.023 0.1038)
OKLCHoklch(81.35% 0.106 102.5)
XYZxyz(48.6802, 54.3916, 23.5539)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC571 #717BCF
analogous
#CF9671 #CFC571 #AACF71
triadic
#CFC571 #71CFC5 #C571CF
tetradic
#CFC571 #71CF96 #717BCF #CF71AA
square
#CFC571 #71CF96 #717BCF #CF71AA
split-complementary
#CFC571 #71AACF #9671CF
monochromatic
#948932 #C0B243 #CFC571 #DED89F #EEEACC

Accessibility & contrast

On white

1.77
#CFC571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CFC571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC571
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC571#FFFFFF#000000##000000
##CFC5711.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C06A
Deuteranopia (green-blind)
#D6C575
Tritanopia (blue-blind)
#DBBBB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc571;
/* rgb */ color: rgb(207, 197, 113);
/* oklch */ color: oklch(81.3% 0.106 102.5);
Tailwind
colors: {
  custom: {
    50: '#dfd69b',
    500: '#cfc571',
    950: '#000000',
  },
}
SCSS
$custom: #cfc571;
$custom-light: #dfd69b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc571",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 113
  },
  "hsl": {
    "h": 53.617,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81348,
    "c": 0.10635,
    "h": 102.5
  },
  "luminance": 0.5439
}

Semantic roles & 50–950 ramp

primary
#CFC571
secondary
#4B539A
accent
#38BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC571

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

Preview Lab → · Contrast checker → · Palette generator →

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