#CFD391#CFD391

#CFD391 is a very light, moderate yellow. Relative luminance 0.619; OKLCH L 84.8% C 0.086 H 111.0°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#CFD391
RGBrgb(207, 211, 145)
HSLhsl(64, 43%, 70%)
HSVhsv(64, 31%, 83%)
CMYKcmyk(1.9%, 0%, 31.3%, 17.3%)
CIE-LABlab(82.86, -11.65, 32.31)
CIE-LCHlch(82.86, 34.34, 109.83°)
OKLaboklab(84.81% -0.0309 0.0804)
OKLCHoklch(84.81% 0.086 111)
XYZxyz(54.1374, 61.8990, 35.8783)
Luminance0.6190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD391 #9591D3
analogous
#D3B691 #CFD391 #AED391
triadic
#CFD391 #91CFD3 #D391CF
tetradic
#CFD391 #91D3B6 #9591D3 #D391AE
square
#CFD391 #91D3B6 #9591D3 #D391AE
split-complementary
#CFD391 #91AED3 #B691D3
monochromatic
#A1A743 #BCC265 #CFD391 #E2E4BD #F5F6E8

Accessibility & contrast

On white

1.57
#CFD391 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#CFD391 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD391
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD391#FFFFFF#000000##000000
##CFD3911.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCD8C
Deuteranopia (green-blind)
#DDCF94
Tritanopia (blue-blind)
#D7CBC2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd391;
/* rgb */ color: rgb(207, 211, 145);
/* oklch */ color: oklch(84.8% 0.086 111.0);
Tailwind
colors: {
  custom: {
    50: '#dee0b2',
    500: '#cfd391',
    950: '#000000',
  },
}
SCSS
$custom: #cfd391;
$custom-light: #dee0b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd391",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 145
  },
  "hsl": {
    "h": 63.636,
    "s": 42.857,
    "l": 69.804
  },
  "oklch": {
    "l": 0.84812,
    "c": 0.0861,
    "h": 111
  },
  "luminance": 0.61898
}

Semantic roles & 50–950 ramp

primary
#CFD391
secondary
#645FA9
accent
#30B638
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151511
muted
#848481

Preview Lab

Preview with #CFD391

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

Preview Lab → · Contrast checker → · Palette generator →

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