#CFD372#CFD372

#CFD372 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.3% C 0.121 H 110.8°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#CFD372
RGBrgb(207, 211, 114)
HSLhsl(62, 52%, 64%)
HSVhsv(62, 46%, 83%)
CMYKcmyk(1.9%, 0%, 46%, 17.3%)
CIE-LABlab(82.42, -15.10, 47.28)
CIE-LCHlch(82.42, 49.63, 107.71°)
OKLaboklab(84.32% -0.0429 0.113)
OKLCHoklch(84.32% 0.121 110.8)
XYZxyz(52.0646, 61.0698, 24.9613)
Luminance0.6107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD372 #7672D3
analogous
#D3A672 #CFD372 #9ED372
triadic
#CFD372 #72CFD3 #D372CF
tetradic
#CFD372 #72D3A6 #7672D3 #D3729E
square
#CFD372 #72D3A6 #7672D3 #D3729E
split-complementary
#CFD372 #729ED3 #A672D3
monochromatic
#969A30 #BFC443 #CFD372 #DFE2A1 #EFF0CF

Accessibility & contrast

On white

1.59
#CFD372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#CFD372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD372
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD372#FFFFFF#000000##000000
##CFD3721.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB6A
Deuteranopia (green-blind)
#E1CF77
Tritanopia (blue-blind)
#DAC9BC
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd372;
/* rgb */ color: rgb(207, 211, 114);
/* oklch */ color: oklch(84.3% 0.121 110.8);
Tailwind
colors: {
  custom: {
    50: '#dfe09c',
    500: '#cfd372',
    950: '#000000',
  },
}
SCSS
$custom: #cfd372;
$custom-light: #dfe09c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd372",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 62.474,
    "s": 52.432,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84315,
    "c": 0.12086,
    "h": 110.8
  },
  "luminance": 0.61069
}

Semantic roles & 50–950 ramp

primary
#CFD372
secondary
#4D4A9F
accent
#26C02C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD372

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

Preview Lab → · Contrast checker → · Palette generator →

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