#CFD381#CFD381

#CFD381 is a very light, moderate yellow. Relative luminance 0.614; OKLCH L 84.5% C 0.105 H 110.8°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#CFD381
RGBrgb(207, 211, 129)
HSLhsl(63, 48%, 67%)
HSVhsv(63, 39%, 83%)
CMYKcmyk(1.9%, 0%, 38.9%, 17.3%)
CIE-LABlab(82.61, -13.55, 40.13)
CIE-LCHlch(82.61, 42.35, 108.65°)
OKLaboklab(84.54% -0.0372 0.0978)
OKLCHoklch(84.54% 0.105 110.8)
XYZxyz(52.9894, 61.4398, 29.8323)
Luminance0.6144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD381 #8581D3
analogous
#D3AE81 #CFD381 #A6D381
triadic
#CFD381 #81CFD3 #D381CF
tetradic
#CFD381 #81D3AE #8581D3 #D381A6
square
#CFD381 #81D3AE #8581D3 #D381A6
split-complementary
#CFD381 #81A6D3 #AE81D3
monochromatic
#9CA138 #BEC354 #CFD381 #E0E3AE #F2F3DC

Accessibility & contrast

On white

1.58
#CFD381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#CFD381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD381
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD381#FFFFFF#000000##000000
##CFD3811.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC7B
Deuteranopia (green-blind)
#DFCF85
Tritanopia (blue-blind)
#D9CABF
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd381;
/* rgb */ color: rgb(207, 211, 129);
/* oklch */ color: oklch(84.5% 0.105 110.8);
Tailwind
colors: {
  custom: {
    50: '#dfe0a7',
    500: '#cfd381',
    950: '#000000',
  },
}
SCSS
$custom: #cfd381;
$custom-light: #dfe0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd381",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 129
  },
  "hsl": {
    "h": 62.927,
    "s": 48.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84538,
    "c": 0.10469,
    "h": 110.8
  },
  "luminance": 0.61439
}

Semantic roles & 50–950 ramp

primary
#CFD381
secondary
#5652A6
accent
#2ABC31
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD381

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

Preview Lab → · Contrast checker → · Palette generator →

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