#EDD462#EDD462

#EDD462 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.9% C 0.136 H 97.1°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#EDD462
RGBrgb(237, 212, 98)
HSLhsl(49, 79%, 66%)
HSVhsv(49, 59%, 93%)
CMYKcmyk(0%, 10.5%, 58.6%, 7.1%)
CIE-LABlab(84.98, -4.75, 58.39)
CIE-LCHlch(84.98, 58.58, 94.66°)
OKLaboklab(86.9% -0.0167 0.1351)
OKLCHoklch(86.9% 0.136 97.1)
XYZxyz(60.6756, 65.9761, 21.0915)
Luminance0.6597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD462 #627BED
analogous
#ED8E62 #EDD462 #C0ED62
triadic
#EDD462 #62EDD4 #D462ED
tetradic
#EDD462 #62ED8E #627BED #ED62C0
square
#EDD462 #62ED8E #627BED #ED62C0
split-complementary
#EDD462 #62C0ED #8E62ED
monochromatic
#BFA016 #E7C52B #EDD462 #F3E399 #FAF2D0

Accessibility & contrast

On white

1.48
#EDD462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#EDD462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD462
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD462#FFFFFF#000000##000000
##EDD4621.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF56
Deuteranopia (green-blind)
#EDD867
Tritanopia (blue-blind)
#FEC6BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #edd462;
/* rgb */ color: rgb(237, 212, 98);
/* oklch */ color: oklch(86.9% 0.136 97.1);
Tailwind
colors: {
  custom: {
    50: '#f6e092',
    500: '#edd462',
    950: '#000000',
  },
}
SCSS
$custom: #edd462;
$custom-light: #f6e092;
$custom-dark: #000000;
JSON
{
  "hex": "#edd462",
  "rgb": {
    "r": 237,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 49.209,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86896,
    "c": 0.13609,
    "h": 97.1
  },
  "luminance": 0.65973
}

Semantic roles & 50–950 ramp

primary
#EDD462
secondary
#364EBD
accent
#30DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EDD462

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

Preview Lab → · Contrast checker → · Palette generator →

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