#CFD671#CFD671

#CFD671 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.9% C 0.125 H 112.3°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#CFD671
RGBrgb(207, 214, 113)
HSLhsl(64, 55%, 64%)
HSVhsv(64, 47%, 84%)
CMYKcmyk(3.3%, 0%, 47.2%, 16.1%)
CIE-LABlab(83.21, -16.69, 48.72)
CIE-LCHlch(83.21, 51.50, 108.91°)
OKLaboklab(84.94% -0.0476 0.1161)
OKLCHoklch(84.94% 0.125 112.3)
XYZxyz(52.7602, 62.5517, 24.9139)
Luminance0.6255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD671 #7871D6
analogous
#D6AB71 #CFD671 #9DD671
triadic
#CFD671 #71CFD6 #D671CF
tetradic
#CFD671 #71D6AB #7871D6 #D6719D
square
#CFD671 #71D6AB #7871D6 #D6719D
split-complementary
#CFD671 #719DD6 #AB71D6
monochromatic
#979F2E #BFC842 #CFD671 #DFE4A0 #EFF1D0

Accessibility & contrast

On white

1.55
#CFD671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#CFD671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD671
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD671#FFFFFF#000000##000000
##CFD6711.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE68
Deuteranopia (green-blind)
#E3D176
Tritanopia (blue-blind)
#DACCBF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd671;
/* rgb */ color: rgb(207, 214, 113);
/* oklch */ color: oklch(84.9% 0.125 112.3);
Tailwind
colors: {
  custom: {
    50: '#dfe29c',
    500: '#cfd671',
    950: '#000000',
  },
}
SCSS
$custom: #cfd671;
$custom-light: #dfe29c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd671",
  "rgb": {
    "r": 207,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 64.158,
    "s": 55.191,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84941,
    "c": 0.12544,
    "h": 112.3
  },
  "luminance": 0.62551
}

Semantic roles & 50–950 ramp

primary
#CFD671
secondary
#4E48A3
accent
#23C32E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD671

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

Preview Lab → · Contrast checker → · Palette generator →

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