#EDD562#EDD562

#EDD562 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.1% C 0.137 H 97.6°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#EDD562
RGBrgb(237, 213, 98)
HSLhsl(50, 79%, 66%)
HSVhsv(50, 59%, 93%)
CMYKcmyk(0%, 10.1%, 58.6%, 7.1%)
CIE-LABlab(85.24, -5.26, 58.68)
CIE-LCHlch(85.24, 58.91, 95.13°)
OKLaboklab(87.1% -0.0182 0.1357)
OKLCHoklch(87.1% 0.137 97.6)
XYZxyz(60.9263, 66.4776, 21.1751)
Luminance0.6647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD562 #627AED
analogous
#ED8F62 #EDD562 #C0ED62
triadic
#EDD562 #62EDD5 #D562ED
tetradic
#EDD562 #62ED8F #627AED #ED62C0
square
#EDD562 #62ED8F #627AED #ED62C0
split-complementary
#EDD562 #62C0ED #8F62ED
monochromatic
#BFA216 #E7C62B #EDD562 #F3E499 #FAF2D0

Accessibility & contrast

On white

1.47
#EDD562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#EDD562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD562
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD562#FFFFFF#000000##000000
##EDD5621.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D056
Deuteranopia (green-blind)
#EED967
Tritanopia (blue-blind)
#FEC7BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #edd562;
/* rgb */ color: rgb(237, 213, 98);
/* oklch */ color: oklch(87.1% 0.137 97.6);
Tailwind
colors: {
  custom: {
    50: '#f6e192',
    500: '#edd562',
    950: '#000000',
  },
}
SCSS
$custom: #edd562;
$custom-light: #f6e192;
$custom-dark: #000000;
JSON
{
  "hex": "#edd562",
  "rgb": {
    "r": 237,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 49.64,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87098,
    "c": 0.13688,
    "h": 97.6
  },
  "luminance": 0.66475
}

Semantic roles & 50–950 ramp

primary
#EDD562
secondary
#364DBD
accent
#2EDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EDD562

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

Preview Lab → · Contrast checker → · Palette generator →

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