#CFC582#CFC582

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

Color values

HEX#CFC582
RGBrgb(207, 197, 130)
HSLhsl(52, 45%, 66%)
HSVhsv(52, 37%, 81%)
CMYKcmyk(0%, 4.8%, 37.2%, 18.8%)
CIE-LABlab(78.93, -6.30, 34.89)
CIE-LCHlch(78.93, 35.45, 100.23°)
OKLaboklab(81.62% -0.0164 0.0859)
OKLCHoklch(81.62% 0.087 100.8)
XYZxyz(49.7284, 54.8109, 29.0748)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC582 #828CCF
analogous
#CF9E82 #CFC582 #B2CF82
triadic
#CFC582 #82CFC5 #C582CF
tetradic
#CFC582 #82CF9E #828CCF #CF82B2
square
#CFC582 #82CF9E #828CCF #CF82B2
split-complementary
#CFC582 #82B2CF #9E82CF
monochromatic
#9B8F3C #BEB056 #CFC582 #E0DAAE #F1EEDA

Accessibility & contrast

On white

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

On black

11.96
#CFC582 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC582
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC582#FFFFFF#000000##000000
##CFC5821.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc582;
/* rgb */ color: rgb(207, 197, 130);
/* oklch */ color: oklch(81.6% 0.087 100.8);
Tailwind
colors: {
  custom: {
    50: '#dfd6a7',
    500: '#cfc582',
    950: '#000000',
  },
}
SCSS
$custom: #cfc582;
$custom-light: #dfd6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc582",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 130
  },
  "hsl": {
    "h": 52.208,
    "s": 44.509,
    "l": 66.078
  },
  "oklch": {
    "l": 0.81619,
    "c": 0.08743,
    "h": 100.8
  },
  "luminance": 0.5481
}

Semantic roles & 50–950 ramp

primary
#CFC582
secondary
#545EA1
accent
#40B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC582

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

Preview Lab → · Contrast checker → · Palette generator →

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