#CFD271#CFD271

#CFD271 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.1% C 0.121 H 110.3°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#CFD271
RGBrgb(207, 210, 113)
HSLhsl(62, 52%, 63%)
HSVhsv(62, 46%, 82%)
CMYKcmyk(1.4%, 0%, 46.2%, 17.6%)
CIE-LABlab(82.14, -14.70, 47.42)
CIE-LCHlch(82.14, 49.65, 107.22°)
OKLaboklab(84.09% -0.0419 0.1132)
OKLCHoklch(84.09% 0.121 110.3)
XYZxyz(51.7603, 60.5519, 24.5806)
Luminance0.6055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD271 #7471D2
analogous
#D2A471 #CFD271 #9ED271
triadic
#CFD271 #71CFD2 #D271CF
tetradic
#CFD271 #71D2A4 #7471D2 #D2719E
square
#CFD271 #71D2A4 #7471D2 #D2719E
split-complementary
#CFD271 #719ED2 #A471D2
monochromatic
#959830 #BFC343 #CFD271 #DFE19F #EEEFCE

Accessibility & contrast

On white

1.60
#CFD271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#CFD271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD271
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD271#FFFFFF#000000##000000
##CFD2711.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB69
Deuteranopia (green-blind)
#E0CE76
Tritanopia (blue-blind)
#DAC8BB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd271;
/* rgb */ color: rgb(207, 210, 113);
/* oklch */ color: oklch(84.1% 0.121 110.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf9c',
    500: '#cfd271',
    950: '#000000',
  },
}
SCSS
$custom: #cfd271;
$custom-light: #dfdf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd271",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 61.856,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84089,
    "c": 0.12071,
    "h": 110.3
  },
  "luminance": 0.60551
}

Semantic roles & 50–950 ramp

primary
#CFD271
secondary
#4C4A9E
accent
#26BF2B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD271

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

Preview Lab → · Contrast checker → · Palette generator →

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