#EDEC52#EDEC52

#EDEC52 is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.7% C 0.170 H 109.0°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#EDEC52
RGBrgb(237, 236, 82)
HSLhsl(60, 81%, 63%)
HSVhsv(60, 65%, 93%)
CMYKcmyk(0%, 0.4%, 65.4%, 7.1%)
CIE-LABlab(91.06, -17.69, 71.55)
CIE-LCHlch(91.06, 73.70, 103.89°)
OKLaboklab(91.68% -0.0552 0.1607)
OKLCHoklch(91.68% 0.17 109)
XYZxyz(66.4457, 78.6066, 19.6535)
Luminance0.7861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC52 #5253ED
analogous
#ED9F52 #EDEC52 #A0ED52
triadic
#EDEC52 #52EDEC #EC52ED
tetradic
#EDEC52 #52ED9F #5253ED #ED52A0
square
#EDEC52 #52ED9F #5253ED #ED52A0
split-complementary
#EDEC52 #52A0ED #9F52ED
monochromatic
#B2B113 #E7E61B #EDEC52 #F3F289 #F9F8C1

Accessibility & contrast

On white

1.26
#EDEC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#EDEC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEC52
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEC52#FFFFFF#000000##000000
##EDEC521.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE33C
Deuteranopia (green-blind)
#FFE85C
Tritanopia (blue-blind)
#FDDECD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #edec52;
/* rgb */ color: rgb(237, 236, 82);
/* oklch */ color: oklch(91.7% 0.170 109.0);
Tailwind
colors: {
  custom: {
    50: '#f6f18a',
    500: '#edec52',
    950: '#000000',
  },
}
SCSS
$custom: #edec52;
$custom-light: #f6f18a;
$custom-dark: #000000;
JSON
{
  "hex": "#edec52",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 82
  },
  "hsl": {
    "h": 59.613,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.91681,
    "c": 0.16997,
    "h": 109
  },
  "luminance": 0.78605
}

Semantic roles & 50–950 ramp

primary
#EDEC52
secondary
#3132B2
accent
#09DE08
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #EDEC52

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

Preview Lab → · Contrast checker → · Palette generator →

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