#CFDA52#CFDA52

#CFDA52 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.5% C 0.158 H 113.6°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#CFDA52
RGBrgb(207, 218, 82)
HSLhsl(65, 65%, 59%)
HSVhsv(65, 62%, 85%)
CMYKcmyk(5%, 0%, 62.4%, 14.5%)
CIE-LABlab(83.98, -21.13, 63.46)
CIE-LCHlch(83.98, 66.89, 108.42°)
OKLaboklab(85.46% -0.0632 0.1444)
OKLCHoklch(85.46% 0.158 113.6)
XYZxyz(52.3278, 64.0184, 17.5812)
Luminance0.6402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDA52 #5D52DA
analogous
#DAA152 #CFDA52 #8BDA52
triadic
#CFDA52 #52CFDA #DA52CF
tetradic
#CFDA52 #52DAA1 #5D52DA #DA528B
square
#CFDA52 #52DAA1 #5D52DA #DA528B
split-complementary
#CFDA52 #528BDA #A152DA
monochromatic
#89921F #B8C52A #CFDA52 #DDE584 #EBF0B7

Accessibility & contrast

On white

1.52
#CFDA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#CFDA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDA52
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDA52#FFFFFF#000000##000000
##CFDA521.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D041
Deuteranopia (green-blind)
#E9D35B
Tritanopia (blue-blind)
#DCCEBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfda52;
/* rgb */ color: rgb(207, 218, 82);
/* oklch */ color: oklch(85.5% 0.158 113.6);
Tailwind
colors: {
  custom: {
    50: '#e1e589',
    500: '#cfda52',
    950: '#000000',
  },
}
SCSS
$custom: #cfda52;
$custom-light: #e1e589;
$custom-dark: #000000;
JSON
{
  "hex": "#cfda52",
  "rgb": {
    "r": 207,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 64.853,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.85457,
    "c": 0.15766,
    "h": 113.6
  },
  "luminance": 0.64017
}

Semantic roles & 50–950 ramp

primary
#CFDA52
secondary
#413997
accent
#40E84E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFDA52

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

Preview Lab → · Contrast checker → · Palette generator →

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