#CFD781#CFD781

#CFD781 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.4% C 0.110 H 113.1°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#CFD781
RGBrgb(207, 215, 129)
HSLhsl(66, 52%, 67%)
HSVhsv(66, 40%, 84%)
CMYKcmyk(3.7%, 0%, 40%, 15.7%)
CIE-LABlab(83.68, -15.55, 41.48)
CIE-LCHlch(83.68, 44.30, 110.55°)
OKLaboklab(85.39% -0.043 0.1009)
OKLCHoklch(85.39% 0.11 113.1)
XYZxyz(53.9955, 63.4520, 30.1676)
Luminance0.6345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD781 #8981D7
analogous
#D7B481 #CFD781 #A4D781
triadic
#CFD781 #81CFD7 #D781CF
tetradic
#CFD781 #81D7B4 #8981D7 #D781A4
square
#CFD781 #81D7B4 #8981D7 #D781A4
split-complementary
#CFD781 #81A4D7 #B481D7
monochromatic
#9EA835 #BDC853 #CFD781 #E1E6AF #F2F4DE

Accessibility & contrast

On white

1.53
#CFD781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#CFD781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD781
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD781#FFFFFF#000000##000000
##CFD7811.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D07A
Deuteranopia (green-blind)
#E2D285
Tritanopia (blue-blind)
#D9CEC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd781;
/* rgb */ color: rgb(207, 215, 129);
/* oklch */ color: oklch(85.4% 0.110 113.1);
Tailwind
colors: {
  custom: {
    50: '#dfe3a7',
    500: '#cfd781',
    950: '#000000',
  },
}
SCSS
$custom: #cfd781;
$custom-light: #dfe3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd781",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 129
  },
  "hsl": {
    "h": 65.581,
    "s": 51.807,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85386,
    "c": 0.10968,
    "h": 113.1
  },
  "luminance": 0.63451
}

Semantic roles & 50–950 ramp

primary
#CFD781
secondary
#5950AC
accent
#26BF35
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD781

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

Preview Lab → · Contrast checker → · Palette generator →

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