#EAC038#EAC038

#EAC038 is a very light, vivid yellow. Relative luminance 0.555; OKLCH L 82.3% C 0.152 H 90.7°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#EAC038
RGBrgb(234, 192, 56)
HSLhsl(46, 81%, 57%)
HSVhsv(46, 76%, 92%)
CMYKcmyk(0%, 17.9%, 76.1%, 8.2%)
CIE-LABlab(79.32, 1.98, 69.44)
CIE-LCHlch(79.32, 69.47, 88.37°)
OKLaboklab(82.25% -0.0019 0.1518)
OKLCHoklch(82.25% 0.152 90.7)
XYZxyz(53.4983, 55.4806, 11.6317)
Luminance0.5548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAC038 #3862EA
analogous
#EA6738 #EAC038 #BBEA38
triadic
#EAC038 #38EAC0 #C038EA
tetradic
#EAC038 #38EA67 #3862EA #EA38BB
square
#EAC038 #38EA67 #3862EA #EA38BB
split-complementary
#EAC038 #38BBEA #6738EA
monochromatic
#987810 #CFA316 #EAC038 #F0D26F #F6E3A7

Accessibility & contrast

On white

1.74
#EAC038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#EAC038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAC038
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAC038#FFFFFF#000000##000000
##EAC0381.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1E
Deuteranopia (green-blind)
#E0C940
Tritanopia (blue-blind)
#FDB0A6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #eac038;
/* rgb */ color: rgb(234, 192, 56);
/* oklch */ color: oklch(82.3% 0.152 90.7);
Tailwind
colors: {
  custom: {
    50: '#f5d279',
    500: '#eac038',
    950: '#000000',
  },
}
SCSS
$custom: #eac038;
$custom-light: #f5d279;
$custom-dark: #000000;
JSON
{
  "hex": "#eac038",
  "rgb": {
    "r": 234,
    "g": 192,
    "b": 56
  },
  "hsl": {
    "h": 45.843,
    "s": 80.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82251,
    "c": 0.15181,
    "h": 90.7
  },
  "luminance": 0.55477
}

Semantic roles & 50–950 ramp

primary
#EAC038
secondary
#2B459B
accent
#5FF730
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D

Preview Lab

Preview with #EAC038

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

Preview Lab → · Contrast checker → · Palette generator →

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