#E3D42F#E3D42F

#E3D42F is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.6% C 0.169 H 103.9°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#E3D42F
RGBrgb(227, 212, 47)
HSLhsl(55, 76%, 54%)
HSVhsv(55, 79%, 89%)
CMYKcmyk(0%, 6.6%, 79.3%, 11%)
CIE-LABlab(83.77, -11.53, 76.04)
CIE-LCHlch(83.77, 76.91, 98.63°)
OKLaboklab(85.62% -0.0406 0.1645)
OKLCHoklch(85.62% 0.169 103.9)
XYZxyz(55.7377, 63.6255, 12.0338)
Luminance0.6362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3D42F #2F3EE3
analogous
#E37A2F #E3D42F #98E32F
triadic
#E3D42F #2FE3D4 #D42FE3
tetradic
#E3D42F #2FE37A #2F3EE3 #E32F98
square
#E3D42F #2FE37A #2F3EE3 #E32F98
split-complementary
#E3D42F #2F98E3 #7A2FE3
monochromatic
#867C12 #BCAE19 #E3D42F #EADF65 #F2EA9B

Accessibility & contrast

On white

1.53
#E3D42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#E3D42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3D42F
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3D42F#FFFFFF#000000##000000
##E3D42F1.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD00
Deuteranopia (green-blind)
#ECD43D
Tritanopia (blue-blind)
#F4C5B6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e3d42f;
/* rgb */ color: rgb(227, 212, 47);
/* oklch */ color: oklch(85.6% 0.169 103.9);
Tailwind
colors: {
  custom: {
    50: '#f0e077',
    500: '#e3d42f',
    950: '#000000',
  },
}
SCSS
$custom: #e3d42f;
$custom-light: #f0e077;
$custom-dark: #000000;
JSON
{
  "hex": "#e3d42f",
  "rgb": {
    "r": 227,
    "g": 212,
    "b": 47
  },
  "hsl": {
    "h": 55,
    "s": 76.271,
    "l": 53.725
  },
  "oklch": {
    "l": 0.85615,
    "c": 0.16947,
    "h": 103.9
  },
  "luminance": 0.63623
}

Semantic roles & 50–950 ramp

primary
#E3D42F
secondary
#2A338C
accent
#45F335
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#17150A
muted
#85847D

Preview Lab

Preview with #E3D42F

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

Preview Lab → · Contrast checker → · Palette generator →

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