#EAE74F#EAE74F

#EAE74F is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.4% C 0.168 H 108.2°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#EAE74F
RGBrgb(234, 231, 79)
HSLhsl(59, 79%, 61%)
HSVhsv(59, 66%, 92%)
CMYKcmyk(0%, 1.3%, 66.2%, 8.2%)
CIE-LABlab(89.49, -16.64, 71.02)
CIE-LCHlch(89.49, 72.94, 103.19°)
OKLaboklab(90.37% -0.0524 0.1592)
OKLCHoklch(90.37% 0.168 108.2)
XYZxyz(63.9211, 75.2107, 18.5456)
Luminance0.7521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE74F #4F52EA
analogous
#EA9A4F #EAE74F #A0EA4F
triadic
#EAE74F #4FEAE7 #E74FEA
tetradic
#EAE74F #4FEA9A #4F52EA #EA4FA0
square
#EAE74F #4FEA9A #4F52EA #EA4FA0
split-complementary
#EAE74F #4FA0EA #9A4FEA
monochromatic
#AAA714 #E1DD1B #EAE74F #F1EE86 #F7F6BC

Accessibility & contrast

On white

1.31
#EAE74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#EAE74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE74F
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE74F#FFFFFF#000000##000000
##EAE74F1.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE39
Deuteranopia (green-blind)
#FCE359
Tritanopia (blue-blind)
#FAD9C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #eae74f;
/* rgb */ color: rgb(234, 231, 79);
/* oklch */ color: oklch(90.4% 0.168 108.2);
Tailwind
colors: {
  custom: {
    50: '#f4ee88',
    500: '#eae74f',
    950: '#000000',
  },
}
SCSS
$custom: #eae74f;
$custom-light: #f4ee88;
$custom-dark: #000000;
JSON
{
  "hex": "#eae74f",
  "rgb": {
    "r": 234,
    "g": 231,
    "b": 79
  },
  "hsl": {
    "h": 58.839,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.90368,
    "c": 0.16764,
    "h": 108.2
  },
  "luminance": 0.75209
}

Semantic roles & 50–950 ramp

primary
#EAE74F
secondary
#3234AC
accent
#0FDB0B
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #EAE74F

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

Preview Lab → · Contrast checker → · Palette generator →

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