#EDD74F#EDD74F

#EDD74F is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.3% C 0.153 H 100.0°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#EDD74F
RGBrgb(237, 215, 79)
HSLhsl(52, 81%, 62%)
HSVhsv(52, 67%, 93%)
CMYKcmyk(0%, 9.3%, 66.7%, 7.1%)
CIE-LABlab(85.59, -7.46, 67.11)
CIE-LCHlch(85.59, 67.52, 96.34°)
OKLaboklab(87.33% -0.0266 0.1509)
OKLCHoklch(87.33% 0.153 100)
XYZxyz(60.6394, 67.1726, 17.1671)
Luminance0.6717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD74F #4F65ED
analogous
#ED884F #EDD74F #B4ED4F
triadic
#EDD74F #4FEDD7 #D74FED
tetradic
#EDD74F #4FED88 #4F65ED #ED4FB4
square
#EDD74F #4FED88 #4F65ED #ED4FB4
split-complementary
#EDD74F #4FB4ED #884FED
monochromatic
#B09A12 #E7CA18 #EDD74F #F3E487 #F8F0BE

Accessibility & contrast

On white

1.45
#EDD74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#EDD74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD74F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD74F#FFFFFF#000000##000000
##EDD74F1.001.4514.4314.43
#FFFFFF1.451.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13D
Deuteranopia (green-blind)
#F1DA57
Tritanopia (blue-blind)
#FFC8BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #edd74f;
/* rgb */ color: rgb(237, 215, 79);
/* oklch */ color: oklch(87.3% 0.153 100.0);
Tailwind
colors: {
  custom: {
    50: '#f6e387',
    500: '#edd74f',
    950: '#000000',
  },
}
SCSS
$custom: #edd74f;
$custom-light: #f6e387;
$custom-dark: #000000;
JSON
{
  "hex": "#edd74f",
  "rgb": {
    "r": 237,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 51.646,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87325,
    "c": 0.15322,
    "h": 100
  },
  "luminance": 0.6717
}

Semantic roles & 50–950 ramp

primary
#EDD74F
secondary
#3042B0
accent
#26DE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EDD74F

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

Preview Lab → · Contrast checker → · Palette generator →

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