#EDE47C#EDE47C

#EDE47C is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.5% C 0.126 H 104.2°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#EDE47C
RGBrgb(237, 228, 124)
HSLhsl(55, 76%, 71%)
HSVhsv(55, 48%, 93%)
CMYKcmyk(0%, 3.8%, 47.7%, 7.1%)
CIE-LABlab(89.37, -10.72, 51.47)
CIE-LCHlch(89.37, 52.58, 101.77°)
OKLaboklab(90.46% -0.0311 0.1226)
OKLCHoklch(90.46% 0.126 104.2)
XYZxyz(66.3082, 74.9485, 30.0385)
Luminance0.7495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE47C #7C85ED
analogous
#EDAB7C #EDE47C #BDED7C
triadic
#EDE47C #7CEDE4 #E47CED
tetradic
#EDE47C #7CEDAB #7C85ED #ED7CBD
square
#EDE47C #7CEDAB #7C85ED #ED7CBD
split-complementary
#EDE47C #7CBDED #AB7CED
monochromatic
#D2C31D #E6D946 #EDE47C #F4EFB2 #FBF9E4

Accessibility & contrast

On white

1.31
#EDE47C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.99
#EDE47C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE47C
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE47C#FFFFFF#000000##000000
##EDE47C1.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE73
Deuteranopia (green-blind)
#F7E381
Tritanopia (blue-blind)
#FBD8CC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ede47c;
/* rgb */ color: rgb(237, 228, 124);
/* oklch */ color: oklch(90.5% 0.126 104.2);
Tailwind
colors: {
  custom: {
    50: '#f5eca4',
    500: '#ede47c',
    950: '#000000',
  },
}
SCSS
$custom: #ede47c;
$custom-light: #f5eca4;
$custom-dark: #000000;
JSON
{
  "hex": "#ede47c",
  "rgb": {
    "r": 237,
    "g": 228,
    "b": 124
  },
  "hsl": {
    "h": 55.221,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90463,
    "c": 0.12648,
    "h": 104.2
  },
  "luminance": 0.74947
}

Semantic roles & 50–950 ramp

primary
#EDE47C
secondary
#4751C7
accent
#1ED80D
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EDE47C

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

Preview Lab → · Contrast checker → · Palette generator →

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