#CFD522#CFD522

#CFD522 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.1% C 0.179 H 111.8°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#CFD522
RGBrgb(207, 213, 34)
HSLhsl(62, 72%, 48%)
HSVhsv(62, 84%, 84%)
CMYKcmyk(2.8%, 0%, 84%, 16.5%)
CIE-LABlab(82.36, -20.84, 77.42)
CIE-LCHlch(82.36, 80.18, 105.07°)
OKLaboklab(84.08% -0.0664 0.1662)
OKLCHoklch(84.08% 0.179 111.8)
XYZxyz(49.8169, 60.9707, 10.6574)
Luminance0.6097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD522 #2822D5
analogous
#D58122 #CFD522 #75D522
triadic
#CFD522 #22CFD5 #D522CF
tetradic
#CFD522 #22D581 #2822D5 #D52275
square
#CFD522 #22D581 #2822D5 #D52275
split-complementary
#CFD522 #2275D5 #8122D5
monochromatic
#686B11 #9CA01A #CFD522 #DEE351 #E8EC86

Accessibility & contrast

On white

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

On black

13.19
#CFD522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD522
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD522#FFFFFF#000000##000000
##CFD5221.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CB00
Deuteranopia (green-blind)
#E7CF36
Tritanopia (blue-blind)
#DEC7B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd522;
/* rgb */ color: rgb(207, 213, 34);
/* oklch */ color: oklch(84.1% 0.179 111.8);
Tailwind
colors: {
  custom: {
    50: '#e2e171',
    500: '#cfd522',
    950: '#000000',
  },
}
SCSS
$custom: #cfd522;
$custom-light: #e2e171;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd522",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 34
  },
  "hsl": {
    "h": 62.011,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.84083,
    "c": 0.17897,
    "h": 111.8
  },
  "luminance": 0.60969
}

Semantic roles & 50–950 ramp

primary
#CFD522
secondary
#292675
accent
#39EF3F
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #CFD522

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

Preview Lab → · Contrast checker → · Palette generator →

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