#EDD162#EDD162

#EDD162 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.3% C 0.134 H 95.3°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#EDD162
RGBrgb(237, 209, 98)
HSLhsl(48, 79%, 66%)
HSVhsv(48, 59%, 93%)
CMYKcmyk(0%, 11.8%, 58.6%, 7.1%)
CIE-LABlab(84.22, -3.23, 57.53)
CIE-LCHlch(84.22, 57.62, 93.21°)
OKLaboklab(86.29% -0.0123 0.1332)
OKLCHoklch(86.29% 0.134 95.3)
XYZxyz(59.9326, 64.4901, 20.8439)
Luminance0.6449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD162 #627EED
analogous
#ED8B62 #EDD162 #C3ED62
triadic
#EDD162 #62EDD1 #D162ED
tetradic
#EDD162 #62ED8B #627EED #ED62C3
square
#EDD162 #62ED8B #627EED #ED62C3
split-complementary
#EDD162 #62C3ED #8B62ED
monochromatic
#BF9D16 #E7C12B #EDD162 #F3E199 #FAF1D0

Accessibility & contrast

On white

1.51
#EDD162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#EDD162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD162
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD162#FFFFFF#000000##000000
##EDD1621.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD57
Deuteranopia (green-blind)
#EBD667
Tritanopia (blue-blind)
#FEC3B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #edd162;
/* rgb */ color: rgb(237, 209, 98);
/* oklch */ color: oklch(86.3% 0.134 95.3);
Tailwind
colors: {
  custom: {
    50: '#f6de92',
    500: '#edd162',
    950: '#000000',
  },
}
SCSS
$custom: #edd162;
$custom-light: #f6de92;
$custom-dark: #000000;
JSON
{
  "hex": "#edd162",
  "rgb": {
    "r": 237,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 47.914,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86292,
    "c": 0.13378,
    "h": 95.3
  },
  "luminance": 0.64487
}

Semantic roles & 50–950 ramp

primary
#EDD162
secondary
#3651BD
accent
#34DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EDD162

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

Preview Lab → · Contrast checker → · Palette generator →

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