#EDE45B#EDE45B

#EDE45B is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 90.1% C 0.156 H 105.5°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#EDE45B
RGBrgb(237, 228, 91)
HSLhsl(56, 80%, 64%)
HSVhsv(56, 62%, 93%)
CMYKcmyk(0%, 3.8%, 61.6%, 7.1%)
CIE-LABlab(89.04, -13.24, 65.87)
CIE-LCHlch(89.04, 67.19, 101.37°)
OKLaboklab(90.1% -0.0417 0.1501)
OKLCHoklch(90.1% 0.156 105.5)
XYZxyz(64.5591, 74.2489, 20.8263)
Luminance0.7425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE45B #5B64ED
analogous
#ED9B5B #EDE45B #ADED5B
triadic
#EDE45B #5BEDE4 #E45BED
tetradic
#EDE45B #5BED9B #5B64ED #ED5BAD
square
#EDE45B #5BED9B #5B64ED #ED5BAD
split-complementary
#EDE45B #5BADED #9B5BED
monochromatic
#B9AF14 #E7DB24 #EDE45B #F3ED92 #F9F6C9

Accessibility & contrast

On white

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

On black

15.85
#EDE45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE45B
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE45B#FFFFFF#000000##000000
##EDE45B1.001.3215.8515.85
#FFFFFF1.321.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC4B
Deuteranopia (green-blind)
#FAE263
Tritanopia (blue-blind)
#FDD6C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ede45b;
/* rgb */ color: rgb(237, 228, 91);
/* oklch */ color: oklch(90.1% 0.156 105.5);
Tailwind
colors: {
  custom: {
    50: '#f6ec8f',
    500: '#ede45b',
    950: '#000000',
  },
}
SCSS
$custom: #ede45b;
$custom-light: #f6ec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ede45b",
  "rgb": {
    "r": 237,
    "g": 228,
    "b": 91
  },
  "hsl": {
    "h": 56.301,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90096,
    "c": 0.15576,
    "h": 105.5
  },
  "luminance": 0.74247
}

Semantic roles & 50–950 ramp

primary
#EDE45B
secondary
#343CB8
accent
#16DD09
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #EDE45B

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

Preview Lab → · Contrast checker → · Palette generator →

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