#EDE74A#EDE74A

#EDE74A is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.6% C 0.170 H 107.2°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#EDE74A
RGBrgb(237, 231, 74)
HSLhsl(58, 82%, 61%)
HSVhsv(58, 69%, 93%)
CMYKcmyk(0%, 2.5%, 68.8%, 7.1%)
CIE-LABlab(89.70, -15.67, 73.15)
CIE-LCHlch(89.70, 74.81, 102.09°)
OKLaboklab(90.58% -0.0503 0.1628)
OKLCHoklch(90.58% 0.17 107.2)
XYZxyz(64.7394, 75.6529, 17.6695)
Luminance0.7565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE74A #4A50ED
analogous
#ED954A #EDE74A #A2ED4A
triadic
#EDE74A #4AEDE7 #E74AED
tetradic
#EDE74A #4AED95 #4A50ED #ED4AA2
square
#EDE74A #4AED95 #4A50ED #ED4AA2
split-complementary
#EDE74A #4AA2ED #954AED
monochromatic
#ACA611 #E3DC17 #EDE74A #F3EE82 #F8F6B9

Accessibility & contrast

On white

1.30
#EDE74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.13
#EDE74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE74A
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE74A#FFFFFF#000000##000000
##EDE74A1.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE31
Deuteranopia (green-blind)
#FDE455
Tritanopia (blue-blind)
#FED8C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ede74a;
/* rgb */ color: rgb(237, 231, 74);
/* oklch */ color: oklch(90.6% 0.170 107.2);
Tailwind
colors: {
  custom: {
    50: '#f7ee86',
    500: '#ede74a',
    950: '#000000',
  },
}
SCSS
$custom: #ede74a;
$custom-light: #f7ee86;
$custom-dark: #000000;
JSON
{
  "hex": "#ede74a",
  "rgb": {
    "r": 237,
    "g": 231,
    "b": 74
  },
  "hsl": {
    "h": 57.791,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.90581,
    "c": 0.17042,
    "h": 107.2
  },
  "luminance": 0.75651
}

Semantic roles & 50–950 ramp

primary
#EDE74A
secondary
#2F33AC
accent
#0FDE07
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #EDE74A

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

Preview Lab → · Contrast checker → · Palette generator →

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