#EDD762#EDD762

#EDD762 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.5% C 0.139 H 98.8°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#EDD762
RGBrgb(237, 215, 98)
HSLhsl(51, 79%, 66%)
HSVhsv(51, 59%, 93%)
CMYKcmyk(0%, 9.3%, 58.6%, 7.1%)
CIE-LABlab(85.75, -6.28, 59.25)
CIE-LCHlch(85.75, 59.58, 96.05°)
OKLaboklab(87.5% -0.0211 0.1369)
OKLCHoklch(87.5% 0.139 98.8)
XYZxyz(61.4325, 67.4899, 21.3438)
Luminance0.6749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD762 #6278ED
analogous
#ED9162 #EDD762 #BDED62
triadic
#EDD762 #62EDD7 #D762ED
tetradic
#EDD762 #62ED91 #6278ED #ED62BD
square
#EDD762 #62ED91 #6278ED #ED62BD
split-complementary
#EDD762 #62BDED #9162ED
monochromatic
#BFA416 #E7C92B #EDD762 #F3E599 #FAF3D0

Accessibility & contrast

On white

1.45
#EDD762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#EDD762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD762
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD762#FFFFFF#000000##000000
##EDD7621.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD256
Deuteranopia (green-blind)
#F0DA68
Tritanopia (blue-blind)
#FEC9BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #edd762;
/* rgb */ color: rgb(237, 215, 98);
/* oklch */ color: oklch(87.5% 0.139 98.8);
Tailwind
colors: {
  custom: {
    50: '#f6e393',
    500: '#edd762',
    950: '#000000',
  },
}
SCSS
$custom: #edd762;
$custom-light: #f6e393;
$custom-dark: #000000;
JSON
{
  "hex": "#edd762",
  "rgb": {
    "r": 237,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 50.504,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87503,
    "c": 0.13851,
    "h": 98.8
  },
  "luminance": 0.67487
}

Semantic roles & 50–950 ramp

primary
#EDD762
secondary
#364BBD
accent
#2BDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EDD762

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

Preview Lab → · Contrast checker → · Palette generator →

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