#CFD672#CFD672

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

Color values

HEX#CFD672
RGBrgb(207, 214, 114)
HSLhsl(64, 55%, 64%)
HSVhsv(64, 47%, 84%)
CMYKcmyk(3.3%, 0%, 46.7%, 16.1%)
CIE-LABlab(83.22, -16.59, 48.25)
CIE-LCHlch(83.22, 51.03, 108.98°)
OKLaboklab(84.95% -0.0472 0.1151)
OKLCHoklch(84.95% 0.124 112.3)
XYZxyz(52.8168, 62.5744, 25.2121)
Luminance0.6257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD672 #7972D6
analogous
#D6AB72 #CFD672 #9DD672
triadic
#CFD672 #72CFD6 #D672CF
tetradic
#CFD672 #72D6AB #7972D6 #D6729D
square
#CFD672 #72D6AB #7972D6 #D6729D
split-complementary
#CFD672 #729DD6 #AB72D6
monochromatic
#979F2E #BFC843 #CFD672 #DFE4A1 #EFF2D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD672#FFFFFF#000000##000000
##CFD6721.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)
#E3CE69
Deuteranopia (green-blind)
#E3D177
Tritanopia (blue-blind)
#DACCBF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd672;
/* rgb */ color: rgb(207, 214, 114);
/* oklch */ color: oklch(85.0% 0.124 112.3);
Tailwind
colors: {
  custom: {
    50: '#dfe29d',
    500: '#cfd672',
    950: '#000000',
  },
}
SCSS
$custom: #cfd672;
$custom-light: #dfe29d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd672",
  "rgb": {
    "r": 207,
    "g": 214,
    "b": 114
  },
  "hsl": {
    "h": 64.2,
    "s": 54.945,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84954,
    "c": 0.12442,
    "h": 112.3
  },
  "luminance": 0.62573
}

Semantic roles & 50–950 ramp

primary
#CFD672
secondary
#4F49A4
accent
#23C22E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD672

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

Preview Lab → · Contrast checker → · Palette generator →

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