#CFC591#CFC591

#CFC591 is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.9% C 0.070 H 98.5°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CFC591
RGBrgb(207, 197, 145)
HSLhsl(50, 39%, 69%)
HSVhsv(50, 30%, 81%)
CMYKcmyk(0%, 4.8%, 30%, 18.8%)
CIE-LABlab(79.18, -4.47, 27.40)
CIE-LCHlch(79.18, 27.77, 99.26°)
OKLaboklab(81.9% -0.0103 0.0688)
OKLCHoklch(81.9% 0.07 98.5)
XYZxyz(50.8096, 55.2434, 34.7691)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC591 #919BCF
analogous
#CFA691 #CFC591 #BACF91
triadic
#CFC591 #91CFC5 #C591CF
tetradic
#CFC591 #91CFA6 #919BCF #CF91BA
square
#CFC591 #91CFA6 #919BCF #CF91BA
split-complementary
#CFC591 #91BACF #A691CF
monochromatic
#A09146 #BCAF66 #CFC591 #E2DBBC #F4F2E6

Accessibility & contrast

On white

1.74
#CFC591 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CFC591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC591
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC591#FFFFFF#000000##000000
##CFC5911.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC28E
Deuteranopia (green-blind)
#D2C693
Tritanopia (blue-blind)
#D8BEB7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc591;
/* rgb */ color: rgb(207, 197, 145);
/* oklch */ color: oklch(81.9% 0.070 98.5);
Tailwind
colors: {
  custom: {
    50: '#ded6b1',
    500: '#cfc591',
    950: '#000000',
  },
}
SCSS
$custom: #cfc591;
$custom-light: #ded6b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc591",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 145
  },
  "hsl": {
    "h": 50.323,
    "s": 39.241,
    "l": 69.02
  },
  "oklch": {
    "l": 0.81898,
    "c": 0.06953,
    "h": 98.5
  },
  "luminance": 0.55242
}

Semantic roles & 50–950 ramp

primary
#CFC591
secondary
#606BA4
accent
#48B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC591

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

Preview Lab → · Contrast checker → · Palette generator →

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