#CED522#CED522

#CED522 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.0% C 0.179 H 112.1°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#CED522
RGBrgb(206, 213, 34)
HSLhsl(62, 72%, 48%)
HSVhsv(62, 84%, 84%)
CMYKcmyk(3.3%, 0%, 84%, 16.5%)
CIE-LABlab(82.29, -21.26, 77.33)
CIE-LCHlch(82.29, 80.20, 105.38°)
OKLaboklab(84% -0.0676 0.166)
OKLCHoklch(84% 0.179 112.1)
XYZxyz(49.5384, 60.8271, 10.6443)
Luminance0.6083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED522 #2922D5
analogous
#D58222 #CED522 #75D522
triadic
#CED522 #22CED5 #D522CE
tetradic
#CED522 #22D582 #2922D5 #D52275
square
#CED522 #22D582 #2922D5 #D52275
split-complementary
#CED522 #2275D5 #8222D5
monochromatic
#686B11 #9BA01A #CED522 #DEE351 #E8EC86

Accessibility & contrast

On white

1.60
#CED522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#CED522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED522
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED522#FFFFFF#000000##000000
##CED5221.001.6013.1713.17
#FFFFFF1.601.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ced522;
/* rgb */ color: rgb(206, 213, 34);
/* oklch */ color: oklch(84.0% 0.179 112.1);
Tailwind
colors: {
  custom: {
    50: '#e1e171',
    500: '#ced522',
    950: '#000000',
  },
}
SCSS
$custom: #ced522;
$custom-light: #e1e171;
$custom-dark: #000000;
JSON
{
  "hex": "#ced522",
  "rgb": {
    "r": 206,
    "g": 213,
    "b": 34
  },
  "hsl": {
    "h": 62.346,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.84002,
    "c": 0.17923,
    "h": 112.1
  },
  "luminance": 0.60826
}

Semantic roles & 50–950 ramp

primary
#CED522
secondary
#292675
accent
#39EF40
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CED522

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

Preview Lab → · Contrast checker → · Palette generator →

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