#EDD45F#EDD45F

#EDD45F is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.9% C 0.139 H 97.3°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#EDD45F
RGBrgb(237, 212, 95)
HSLhsl(49, 80%, 65%)
HSVhsv(49, 60%, 93%)
CMYKcmyk(0%, 10.5%, 59.9%, 7.1%)
CIE-LABlab(84.96, -4.96, 59.70)
CIE-LCHlch(84.96, 59.90, 94.75°)
OKLaboklab(86.86% -0.0177 0.1375)
OKLCHoklch(86.86% 0.139 97.3)
XYZxyz(60.5366, 65.9205, 20.3595)
Luminance0.6592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD45F #5F78ED
analogous
#ED8D5F #EDD45F #BFED5F
triadic
#EDD45F #5FEDD4 #D45FED
tetradic
#EDD45F #5FED8D #5F78ED #ED5FBF
square
#EDD45F #5FED8D #5F78ED #ED5FBF
split-complementary
#EDD45F #5FBFED #8D5FED
monochromatic
#BC9F15 #E7C528 #EDD45F #F3E396 #F9F2CD

Accessibility & contrast

On white

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

On black

14.18
#EDD45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD45F
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD45F#FFFFFF#000000##000000
##EDD45F1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF52
Deuteranopia (green-blind)
#EED865
Tritanopia (blue-blind)
#FEC6BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #edd45f;
/* rgb */ color: rgb(237, 212, 95);
/* oklch */ color: oklch(86.9% 0.139 97.3);
Tailwind
colors: {
  custom: {
    50: '#f6e090',
    500: '#edd45f',
    950: '#000000',
  },
}
SCSS
$custom: #edd45f;
$custom-light: #f6e090;
$custom-dark: #000000;
JSON
{
  "hex": "#edd45f",
  "rgb": {
    "r": 237,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 49.437,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86864,
    "c": 0.1386,
    "h": 97.3
  },
  "luminance": 0.65918
}

Semantic roles & 50–950 ramp

primary
#EDD45F
secondary
#354DBB
accent
#2FDC09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EDD45F

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

Preview Lab → · Contrast checker → · Palette generator →

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