#EDE54E#EDE54E

#EDE54E is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.2% C 0.166 H 106.3°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#EDE54E
RGBrgb(237, 229, 78)
HSLhsl(57, 82%, 62%)
HSVhsv(57, 67%, 93%)
CMYKcmyk(0%, 3.4%, 67.1%, 7.1%)
CIE-LABlab(89.20, -14.48, 71.18)
CIE-LCHlch(89.20, 72.64, 101.50°)
OKLaboklab(90.2% -0.0466 0.1593)
OKLCHoklch(90.2% 0.166 106.3)
XYZxyz(64.3219, 74.5954, 18.2164)
Luminance0.7459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE54E #4E56ED
analogous
#ED964E #EDE54E #A6ED4E
triadic
#EDE54E #4EEDE5 #E54EED
tetradic
#EDE54E #4EED96 #4E56ED #ED4EA6
square
#EDE54E #4EED96 #4E56ED #ED4EA6
split-complementary
#EDE54E #4EA6ED #964EED
monochromatic
#AFA712 #E6DC17 #EDE54E #F3ED86 #F8F5BD

Accessibility & contrast

On white

1.32
#EDE54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#EDE54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE54E
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE54E#FFFFFF#000000##000000
##EDE54E1.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD38
Deuteranopia (green-blind)
#FBE358
Tritanopia (blue-blind)
#FED6C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ede54e;
/* rgb */ color: rgb(237, 229, 78);
/* oklch */ color: oklch(90.2% 0.166 106.3);
Tailwind
colors: {
  custom: {
    50: '#f6ec88',
    500: '#ede54e',
    950: '#000000',
  },
}
SCSS
$custom: #ede54e;
$custom-light: #f6ec88;
$custom-dark: #000000;
JSON
{
  "hex": "#ede54e",
  "rgb": {
    "r": 237,
    "g": 229,
    "b": 78
  },
  "hsl": {
    "h": 56.981,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.90195,
    "c": 0.16601,
    "h": 106.3
  },
  "luminance": 0.74593
}

Semantic roles & 50–950 ramp

primary
#EDE54E
secondary
#3036AF
accent
#12DE08
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #EDE54E

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

Preview Lab → · Contrast checker → · Palette generator →

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