#CFD371#CFD371

#CFD371 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.3% C 0.122 H 110.8°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#CFD371
RGBrgb(207, 211, 113)
HSLhsl(62, 53%, 64%)
HSVhsv(62, 46%, 83%)
CMYKcmyk(1.9%, 0%, 46.4%, 17.3%)
CIE-LABlab(82.40, -15.20, 47.75)
CIE-LCHlch(82.40, 50.11, 107.65°)
OKLaboklab(84.3% -0.0433 0.1139)
OKLCHoklch(84.3% 0.122 110.8)
XYZxyz(52.0080, 61.0472, 24.6632)
Luminance0.6105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD371 #7571D3
analogous
#D3A671 #CFD371 #9ED371
triadic
#CFD371 #71CFD3 #D371CF
tetradic
#CFD371 #71D3A6 #7571D3 #D3719E
square
#CFD371 #71D3A6 #7571D3 #D3719E
split-complementary
#CFD371 #719ED3 #A671D3
monochromatic
#969A30 #BFC542 #CFD371 #DFE1A0 #EFF0CE

Accessibility & contrast

On white

1.59
#CFD371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#CFD371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD371
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD371#FFFFFF#000000##000000
##CFD3711.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB69
Deuteranopia (green-blind)
#E1CF76
Tritanopia (blue-blind)
#DAC9BC
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd371;
/* rgb */ color: rgb(207, 211, 113);
/* oklch */ color: oklch(84.3% 0.122 110.8);
Tailwind
colors: {
  custom: {
    50: '#dfe09c',
    500: '#cfd371',
    950: '#000000',
  },
}
SCSS
$custom: #cfd371;
$custom-light: #dfe09c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd371",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 62.449,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84302,
    "c": 0.12188,
    "h": 110.8
  },
  "luminance": 0.61046
}

Semantic roles & 50–950 ramp

primary
#CFD371
secondary
#4D499F
accent
#25C02C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD371

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

Preview Lab → · Contrast checker → · Palette generator →

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