#CFD752#CFD752

#CFD752 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.8% C 0.154 H 112.5°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#CFD752
RGBrgb(207, 215, 82)
HSLhsl(64, 62%, 58%)
HSVhsv(64, 62%, 84%)
CMYKcmyk(3.7%, 0%, 61.9%, 15.7%)
CIE-LABlab(83.17, -19.67, 62.60)
CIE-LCHlch(83.17, 65.62, 107.44°)
OKLaboklab(84.81% -0.0591 0.1426)
OKLCHoklch(84.81% 0.154 112.5)
XYZxyz(51.5569, 62.4766, 17.3243)
Luminance0.6248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD752 #5A52D7
analogous
#D79C52 #CFD752 #8CD752
triadic
#CFD752 #52CFD7 #D752CF
tetradic
#CFD752 #52D79C #5A52D7 #D7528C
square
#CFD752 #52D79C #5A52D7 #D7528C
split-complementary
#CFD752 #528CD7 #9C52D7
monochromatic
#878E21 #B7C02C #CFD752 #DDE284 #EBEEB5

Accessibility & contrast

On white

1.56
#CFD752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#CFD752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD752
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD752#FFFFFF#000000##000000
##CFD7521.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE41
Deuteranopia (green-blind)
#E6D15B
Tritanopia (blue-blind)
#DCCBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd752;
/* rgb */ color: rgb(207, 215, 82);
/* oklch */ color: oklch(84.8% 0.154 112.5);
Tailwind
colors: {
  custom: {
    50: '#e1e388',
    500: '#cfd752',
    950: '#000000',
  },
}
SCSS
$custom: #cfd752;
$custom-light: #e1e388;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd752",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 63.609,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8481,
    "c": 0.15437,
    "h": 112.5
  },
  "luminance": 0.62475
}

Semantic roles & 50–950 ramp

primary
#CFD752
secondary
#3F3A93
accent
#42E64C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD752

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

Preview Lab → · Contrast checker → · Palette generator →

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