#CFD772#CFD772

#CFD772 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.2% C 0.126 H 112.8°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#CFD772
RGBrgb(207, 215, 114)
HSLhsl(65, 56%, 65%)
HSVhsv(65, 47%, 84%)
CMYKcmyk(3.7%, 0%, 47%, 15.7%)
CIE-LABlab(83.49, -17.09, 48.58)
CIE-LCHlch(83.49, 51.49, 109.38°)
OKLaboklab(85.17% -0.0486 0.1158)
OKLCHoklch(85.17% 0.126 112.8)
XYZxyz(53.0707, 63.0821, 25.2967)
Luminance0.6308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD772 #7A72D7
analogous
#D7AC72 #CFD772 #9DD772
triadic
#CFD772 #72CFD7 #D772CF
tetradic
#CFD772 #72D7AC #7A72D7 #D7729D
square
#CFD772 #72D7AC #7A72D7 #D7729D
split-complementary
#CFD772 #729DD7 #AC72D7
monochromatic
#98A12E #BFC942 #CFD772 #DFE5A2 #EFF2D1

Accessibility & contrast

On white

1.54
#CFD772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#CFD772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD772
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD772#FFFFFF#000000##000000
##CFD7721.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF69
Deuteranopia (green-blind)
#E4D177
Tritanopia (blue-blind)
#DACDBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd772;
/* rgb */ color: rgb(207, 215, 114);
/* oklch */ color: oklch(85.2% 0.126 112.8);
Tailwind
colors: {
  custom: {
    50: '#dfe39d',
    500: '#cfd772',
    950: '#000000',
  },
}
SCSS
$custom: #cfd772;
$custom-light: #dfe39d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd772",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 64.752,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85168,
    "c": 0.12562,
    "h": 112.8
  },
  "luminance": 0.63081
}

Semantic roles & 50–950 ramp

primary
#CFD772
secondary
#5048A5
accent
#22C32F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD772

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

Preview Lab → · Contrast checker → · Palette generator →

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