#CFD971#CFD971

#CFD971 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.6% C 0.129 H 113.7°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#CFD971
RGBrgb(207, 217, 113)
HSLhsl(66, 58%, 65%)
HSVhsv(66, 48%, 85%)
CMYKcmyk(4.6%, 0%, 47.9%, 14.9%)
CIE-LABlab(84.01, -18.17, 49.69)
CIE-LCHlch(84.01, 52.91, 110.09°)
OKLaboklab(85.58% -0.0518 0.1182)
OKLCHoklch(85.58% 0.129 113.7)
XYZxyz(53.5264, 64.0842, 25.1693)
Luminance0.6408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD971 #7B71D9
analogous
#D9AF71 #CFD971 #9BD971
triadic
#CFD971 #71CFD9 #D971CF
tetradic
#CFD971 #71D9AF #7B71D9 #D9719B
square
#CFD971 #71D9AF #7B71D9 #D9719B
split-complementary
#CFD971 #719BD9 #AF71D9
monochromatic
#98A42C #BFCC41 #CFD971 #DFE6A1 #F0F3D2

Accessibility & contrast

On white

1.52
#CFD971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#CFD971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD971
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD971#FFFFFF#000000##000000
##CFD9711.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D068
Deuteranopia (green-blind)
#E6D376
Tritanopia (blue-blind)
#DACFC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd971;
/* rgb */ color: rgb(207, 217, 113);
/* oklch */ color: oklch(85.6% 0.129 113.7);
Tailwind
colors: {
  custom: {
    50: '#dfe49c',
    500: '#cfd971',
    950: '#000000',
  },
}
SCSS
$custom: #cfd971;
$custom-light: #dfe49c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd971",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 65.769,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85582,
    "c": 0.12904,
    "h": 113.7
  },
  "luminance": 0.64083
}

Semantic roles & 50–950 ramp

primary
#CFD971
secondary
#5047A7
accent
#20C530
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD971

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

Preview Lab → · Contrast checker → · Palette generator →

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