#CFD581#CFD581

#CFD581 is a very light, moderate yellow. Relative luminance 0.624; OKLCH L 85.0% C 0.107 H 112.0°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#CFD581
RGBrgb(207, 213, 129)
HSLhsl(64, 50%, 67%)
HSVhsv(64, 39%, 84%)
CMYKcmyk(2.8%, 0%, 39.4%, 16.5%)
CIE-LABlab(83.15, -14.55, 40.80)
CIE-LCHlch(83.15, 43.32, 109.63°)
OKLaboklab(84.96% -0.0401 0.0994)
OKLCHoklch(84.96% 0.107 112)
XYZxyz(53.4894, 62.4397, 29.9989)
Luminance0.6244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD581 #8781D5
analogous
#D5B181 #CFD581 #A5D581
triadic
#CFD581 #81CFD5 #D581CF
tetradic
#CFD581 #81D5B1 #8781D5 #D581A5
square
#CFD581 #81D5B1 #8781D5 #D581A5
split-complementary
#CFD581 #81A5D5 #B181D5
monochromatic
#9DA537 #BEC653 #CFD581 #E0E4AF #F2F4DD

Accessibility & contrast

On white

1.56
#CFD581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#CFD581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD581
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD581#FFFFFF#000000##000000
##CFD5811.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE7B
Deuteranopia (green-blind)
#E1D085
Tritanopia (blue-blind)
#D9CCC0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd581;
/* rgb */ color: rgb(207, 213, 129);
/* oklch */ color: oklch(85.0% 0.107 112.0);
Tailwind
colors: {
  custom: {
    50: '#dfe1a7',
    500: '#cfd581',
    950: '#000000',
  },
}
SCSS
$custom: #cfd581;
$custom-light: #dfe1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd581",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 64.286,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.84961,
    "c": 0.10717,
    "h": 112
  },
  "luminance": 0.62439
}

Semantic roles & 50–950 ramp

primary
#CFD581
secondary
#5851A9
accent
#28BD33
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD581

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

Preview Lab → · Contrast checker → · Palette generator →

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