#EDEC4A#EDEC4A

#EDEC4A is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.6% C 0.175 H 109.1°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#EDEC4A
RGBrgb(237, 236, 74)
HSLhsl(60, 82%, 61%)
HSVhsv(60, 69%, 93%)
CMYKcmyk(0%, 0.4%, 68.8%, 7.1%)
CIE-LABlab(91.00, -18.10, 74.43)
CIE-LCHlch(91.00, 76.60, 103.67°)
OKLaboklab(91.62% -0.0572 0.1655)
OKLCHoklch(91.62% 0.175 109.1)
XYZxyz(66.1589, 78.4918, 18.1427)
Luminance0.7849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC4A #4A4BED
analogous
#ED9A4A #EDEC4A #9CED4A
triadic
#EDEC4A #4AEDEC #EC4AED
tetradic
#EDEC4A #4AED9A #4A4BED #ED4A9C
square
#EDEC4A #4AED9A #4A4BED #ED4A9C
split-complementary
#EDEC4A #4A9CED #9A4AED
monochromatic
#ACAB11 #E3E217 #EDEC4A #F3F282 #F8F8B9

Accessibility & contrast

On white

1.26
#EDEC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#EDEC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEC4A
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEC4A#FFFFFF#000000##000000
##EDEC4A1.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE22F
Deuteranopia (green-blind)
#FFE856
Tritanopia (blue-blind)
#FDDDCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #edec4a;
/* rgb */ color: rgb(237, 236, 74);
/* oklch */ color: oklch(91.6% 0.175 109.1);
Tailwind
colors: {
  custom: {
    50: '#f7f186',
    500: '#edec4a',
    950: '#000000',
  },
}
SCSS
$custom: #edec4a;
$custom-light: #f7f186;
$custom-dark: #000000;
JSON
{
  "hex": "#edec4a",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 74
  },
  "hsl": {
    "h": 59.632,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.91622,
    "c": 0.17514,
    "h": 109.1
  },
  "luminance": 0.7849
}

Semantic roles & 50–950 ramp

primary
#EDEC4A
secondary
#2F30AC
accent
#09DE07
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #EDEC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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