#EED45B#EED45B

#EED45B is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.9% C 0.142 H 97.2°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#EED45B
RGBrgb(238, 212, 91)
HSLhsl(49, 81%, 65%)
HSVhsv(49, 62%, 93%)
CMYKcmyk(0%, 10.9%, 61.8%, 6.7%)
CIE-LABlab(85.01, -4.81, 61.53)
CIE-LCHlch(85.01, 61.72, 94.47°)
OKLaboklab(86.92% -0.0177 0.1408)
OKLCHoklch(86.92% 0.142 97.2)
XYZxyz(60.6943, 66.0223, 19.4421)
Luminance0.6602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EED45B #5B75EE
analogous
#EE8B5B #EED45B #BEEE5B
triadic
#EED45B #5BEED4 #D45BEE
tetradic
#EED45B #5BEE8B #5B75EE #EE5BBE
square
#EED45B #5BEE8B #5B75EE #EE5BBE
split-complementary
#EED45B #5BBEEE #8B5BEE
monochromatic
#BB9E13 #E8C524 #EED45B #F4E392 #F9F1CA

Accessibility & contrast

On white

1.48
#EED45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#EED45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EED45B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EED45B#FFFFFF#000000##000000
##EED45B1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4D
Deuteranopia (green-blind)
#EED861
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #eed45b;
/* rgb */ color: rgb(238, 212, 91);
/* oklch */ color: oklch(86.9% 0.142 97.2);
Tailwind
colors: {
  custom: {
    50: '#f7e08e',
    500: '#eed45b',
    950: '#000000',
  },
}
SCSS
$custom: #eed45b;
$custom-light: #f7e08e;
$custom-dark: #000000;
JSON
{
  "hex": "#eed45b",
  "rgb": {
    "r": 238,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 49.388,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86915,
    "c": 0.14194,
    "h": 97.2
  },
  "luminance": 0.66019
}

Semantic roles & 50–950 ramp

primary
#EED45B
secondary
#334BBA
accent
#2EDE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EED45B

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

Preview Lab → · Contrast checker → · Palette generator →

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