#EDE45F#EDE45F

#EDE45F is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.1% C 0.153 H 105.4°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#EDE45F
RGBrgb(237, 228, 95)
HSLhsl(56, 80%, 65%)
HSVhsv(56, 60%, 93%)
CMYKcmyk(0%, 3.8%, 59.9%, 7.1%)
CIE-LABlab(89.07, -12.98, 64.23)
CIE-LCHlch(89.07, 65.53, 101.43°)
OKLaboklab(90.13% -0.0406 0.1471)
OKLCHoklch(90.13% 0.153 105.4)
XYZxyz(64.7362, 74.3197, 21.7594)
Luminance0.7432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE45F #5F68ED
analogous
#ED9D5F #EDE45F #AFED5F
triadic
#EDE45F #5FEDE4 #E45FED
tetradic
#EDE45F #5FED9D #5F68ED #ED5FAF
square
#EDE45F #5FED9D #5F68ED #ED5FAF
split-complementary
#EDE45F #5FAFED #9D5FED
monochromatic
#BCB215 #E7DB28 #EDE45F #F3ED96 #F9F7CD

Accessibility & contrast

On white

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

On black

15.86
#EDE45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE45F
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE45F#FFFFFF#000000##000000
##EDE45F1.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC50
Deuteranopia (green-blind)
#FAE366
Tritanopia (blue-blind)
#FDD6C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ede45f;
/* rgb */ color: rgb(237, 228, 95);
/* oklch */ color: oklch(90.1% 0.153 105.4);
Tailwind
colors: {
  custom: {
    50: '#f6ec91',
    500: '#ede45f',
    950: '#000000',
  },
}
SCSS
$custom: #ede45f;
$custom-light: #f6ec91;
$custom-dark: #000000;
JSON
{
  "hex": "#ede45f",
  "rgb": {
    "r": 237,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 56.197,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.90133,
    "c": 0.15262,
    "h": 105.4
  },
  "luminance": 0.74318
}

Semantic roles & 50–950 ramp

primary
#EDE45F
secondary
#353EBB
accent
#17DC09
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #EDE45F

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

Preview Lab → · Contrast checker → · Palette generator →

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