#CFC581#CFC581

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

Color values

HEX#CFC581
RGBrgb(207, 197, 129)
HSLhsl(52, 45%, 66%)
HSVhsv(52, 38%, 81%)
CMYKcmyk(0%, 4.8%, 37.7%, 18.8%)
CIE-LABlab(78.92, -6.41, 35.38)
CIE-LCHlch(78.92, 35.96, 100.27°)
OKLaboklab(81.6% -0.0168 0.087)
OKLCHoklch(81.6% 0.089 100.9)
XYZxyz(49.6616, 54.7842, 28.7230)
Luminance0.5478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC581 #818BCF
analogous
#CF9E81 #CFC581 #B2CF81
triadic
#CFC581 #81CFC5 #C581CF
tetradic
#CFC581 #81CF9E #818BCF #CF81B2
square
#CFC581 #81CF9E #818BCF #CF81B2
split-complementary
#CFC581 #81B2CF #9E81CF
monochromatic
#9B8E3B #BEB155 #CFC581 #E0D9AD #F1EEDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC581#FFFFFF#000000##000000
##CFC5811.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)
#D1C17C
Deuteranopia (green-blind)
#D4C584
Tritanopia (blue-blind)
#DABCB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc581;
/* rgb */ color: rgb(207, 197, 129);
/* oklch */ color: oklch(81.6% 0.089 100.9);
Tailwind
colors: {
  custom: {
    50: '#dfd6a6',
    500: '#cfc581',
    950: '#000000',
  },
}
SCSS
$custom: #cfc581;
$custom-light: #dfd6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc581",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 129
  },
  "hsl": {
    "h": 52.308,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.81602,
    "c": 0.08858,
    "h": 100.9
  },
  "luminance": 0.54783
}

Semantic roles & 50–950 ramp

primary
#CFC581
secondary
#545EA0
accent
#3FB82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC581

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

Preview Lab → · Contrast checker → · Palette generator →

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