#CFC482#CFC482

#CFC482 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.4% C 0.086 H 99.9°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CFC482
RGBrgb(207, 196, 130)
HSLhsl(51, 45%, 66%)
HSVhsv(51, 37%, 81%)
CMYKcmyk(0%, 5.3%, 37.2%, 18.8%)
CIE-LABlab(78.67, -5.78, 34.55)
CIE-LCHlch(78.67, 35.03, 99.50°)
OKLaboklab(81.41% -0.0149 0.0851)
OKLCHoklch(81.41% 0.086 99.9)
XYZxyz(49.5021, 54.3583, 28.9993)
Luminance0.5436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC482 #828DCF
analogous
#CF9D82 #CFC482 #B3CF82
triadic
#CFC482 #82CFC4 #C482CF
tetradic
#CFC482 #82CF9D #828DCF #CF82B3
square
#CFC482 #82CF9D #828DCF #CF82B3
split-complementary
#CFC482 #82B3CF #9D82CF
monochromatic
#9B8D3C #BEAF56 #CFC482 #E0D9AE #F1EEDA

Accessibility & contrast

On white

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

On black

11.87
#CFC482 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC482
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC482#FFFFFF#000000##000000
##CFC4821.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07D
Deuteranopia (green-blind)
#D3C584
Tritanopia (blue-blind)
#DABBB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc482;
/* rgb */ color: rgb(207, 196, 130);
/* oklch */ color: oklch(81.4% 0.086 99.9);
Tailwind
colors: {
  custom: {
    50: '#dfd5a7',
    500: '#cfc482',
    950: '#000000',
  },
}
SCSS
$custom: #cfc482;
$custom-light: #dfd5a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc482",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 130
  },
  "hsl": {
    "h": 51.429,
    "s": 44.509,
    "l": 66.078
  },
  "oklch": {
    "l": 0.81412,
    "c": 0.08638,
    "h": 99.9
  },
  "luminance": 0.54357
}

Semantic roles & 50–950 ramp

primary
#CFC482
secondary
#545FA1
accent
#42B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC482

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

Preview Lab → · Contrast checker → · Palette generator →

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