#CFD72E#CFD72E

#CFD72E is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.6% C 0.176 H 112.5°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#CFD72E
RGBrgb(207, 215, 46)
HSLhsl(63, 68%, 51%)
HSVhsv(63, 79%, 84%)
CMYKcmyk(3.7%, 0%, 78.6%, 15.7%)
CIE-LABlab(82.95, -21.46, 74.97)
CIE-LCHlch(82.95, 77.98, 105.97°)
OKLaboklab(84.57% -0.0674 0.1629)
OKLCHoklch(84.57% 0.176 112.5)
XYZxyz(50.5274, 62.0648, 11.9023)
Luminance0.6206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD72E #362ED7
analogous
#D78A2E #CFD72E #7AD72E
triadic
#CFD72E #2ECFD7 #D72ECF
tetradic
#CFD72E #2ED78A #362ED7 #D72E7A
square
#CFD72E #2ED78A #362ED7 #D72E7A
split-complementary
#CFD72E #2E7AD7 #8A2ED7
monochromatic
#707416 #A1A820 #CFD72E #DBE161 #E7EB95

Accessibility & contrast

On white

1.57
#CFD72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#CFD72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD72E
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD72E#FFFFFF#000000##000000
##CFD72E1.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD00
Deuteranopia (green-blind)
#E8D03E
Tritanopia (blue-blind)
#DDCAB8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd72e;
/* rgb */ color: rgb(207, 215, 46);
/* oklch */ color: oklch(84.6% 0.176 112.5);
Tailwind
colors: {
  custom: {
    50: '#e2e376',
    500: '#cfd72e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd72e;
$custom-light: #e2e376;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd72e",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 46
  },
  "hsl": {
    "h": 62.84,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.84565,
    "c": 0.17628,
    "h": 112.5
  },
  "luminance": 0.62064
}

Semantic roles & 50–950 ramp

primary
#CFD72E
secondary
#302C7D
accent
#3DEB45
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD72E

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

Preview Lab → · Contrast checker → · Palette generator →

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