#CFC580#CFC580

#CFC580 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.090 H 101.0°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CFC580
RGBrgb(207, 197, 128)
HSLhsl(52, 45%, 66%)
HSVhsv(52, 38%, 81%)
CMYKcmyk(0%, 4.8%, 38.2%, 18.8%)
CIE-LABlab(78.90, -6.52, 35.88)
CIE-LCHlch(78.90, 36.46, 100.30°)
OKLaboklab(81.58% -0.0172 0.0881)
OKLCHoklch(81.58% 0.09 101)
XYZxyz(49.5955, 54.7578, 28.3746)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC580 #808ACF
analogous
#CF9D80 #CFC580 #B1CF80
triadic
#CFC580 #80CFC5 #C580CF
tetradic
#CFC580 #80CF9D #808ACF #CF80B1
square
#CFC580 #80CF9D #808ACF #CF80B1
split-complementary
#CFC580 #80B1CF #9D80CF
monochromatic
#9A8E3A #BEB154 #CFC580 #E0D9AC #F1EED9

Accessibility & contrast

On white

1.76
#CFC580 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CFC580 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC580
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC580#FFFFFF#000000##000000
##CFC5801.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C17B
Deuteranopia (green-blind)
#D4C583
Tritanopia (blue-blind)
#DABCB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc580;
/* rgb */ color: rgb(207, 197, 128);
/* oklch */ color: oklch(81.6% 0.090 101.0);
Tailwind
colors: {
  custom: {
    50: '#dfd6a5',
    500: '#cfc580',
    950: '#000000',
  },
}
SCSS
$custom: #cfc580;
$custom-light: #dfd6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc580",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 128
  },
  "hsl": {
    "h": 52.405,
    "s": 45.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.81585,
    "c": 0.08973,
    "h": 101
  },
  "luminance": 0.54756
}

Semantic roles & 50–950 ramp

primary
#CFC580
secondary
#535DA0
accent
#3FB82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC580

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

Preview Lab → · Contrast checker → · Palette generator →

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