#EDD862#EDD862

#EDD862 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.7% C 0.139 H 99.3°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#EDD862
RGBrgb(237, 216, 98)
HSLhsl(51, 79%, 66%)
HSVhsv(51, 59%, 93%)
CMYKcmyk(0%, 8.9%, 58.6%, 7.1%)
CIE-LABlab(86.01, -6.78, 59.54)
CIE-LCHlch(86.01, 59.92, 96.50°)
OKLaboklab(87.71% -0.0225 0.1375)
OKLCHoklch(87.71% 0.139 99.3)
XYZxyz(61.6879, 68.0007, 21.4290)
Luminance0.6800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD862 #6277ED
analogous
#ED9262 #EDD862 #BDED62
triadic
#EDD862 #62EDD8 #D862ED
tetradic
#EDD862 #62ED92 #6277ED #ED62BD
square
#EDD862 #62ED92 #6277ED #ED62BD
split-complementary
#EDD862 #62BDED #9262ED
monochromatic
#BFA516 #E7CA2B #EDD862 #F3E699 #FAF3D0

Accessibility & contrast

On white

1.44
#EDD862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#EDD862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD862
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD862#FFFFFF#000000##000000
##EDD8621.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD356
Deuteranopia (green-blind)
#F0DB68
Tritanopia (blue-blind)
#FECABE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #edd862;
/* rgb */ color: rgb(237, 216, 98);
/* oklch */ color: oklch(87.7% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#f6e393',
    500: '#edd862',
    950: '#000000',
  },
}
SCSS
$custom: #edd862;
$custom-light: #f6e393;
$custom-dark: #000000;
JSON
{
  "hex": "#edd862",
  "rgb": {
    "r": 237,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 50.935,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87706,
    "c": 0.13935,
    "h": 99.3
  },
  "luminance": 0.67998
}

Semantic roles & 50–950 ramp

primary
#EDD862
secondary
#364ABD
accent
#29DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EDD862

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

Preview Lab → · Contrast checker → · Palette generator →

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