#EAF45F#EAF45F

#EAF45F is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.2% C 0.169 H 112.9°. Best body text is #000000 at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#EAF45F
RGBrgb(234, 244, 95)
HSLhsl(64, 87%, 66%)
HSVhsv(64, 61%, 96%)
CMYKcmyk(4.1%, 0%, 61.1%, 4.3%)
CIE-LABlab(93.02, -21.97, 68.43)
CIE-LCHlch(93.02, 71.87, 107.80°)
OKLaboklab(93.23% -0.0658 0.1561)
OKLCHoklch(93.23% 0.169 112.9)
XYZxyz(68.3497, 83.0214, 23.2484)
Luminance0.8302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF45F #695FF4
analogous
#F4B45F #EAF45F #A0F45F
triadic
#EAF45F #5FEAF4 #F45FEA
tetradic
#EAF45F #5FF4B4 #695FF4 #F45FA0
square
#EAF45F #5FF4B4 #695FF4 #F45FA0
split-complementary
#EAF45F #5FA0F4 #B45FF4
monochromatic
#BECB0E #E2F026 #EAF45F #F2F898 #F9FCD2

Accessibility & contrast

On white

1.19
#EAF45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.60
#EAF45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF45F
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF45F#FFFFFF#000000##000000
##EAF45F1.001.1917.6017.60
#FFFFFF1.191.0021.0021.00
#00000017.6021.001.001.00
##00000017.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE94D
Deuteranopia (green-blind)
#FFED69
Tritanopia (blue-blind)
#F9E6D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #eaf45f;
/* rgb */ color: rgb(234, 244, 95);
/* oklch */ color: oklch(93.2% 0.169 112.9);
Tailwind
colors: {
  custom: {
    50: '#f4f792',
    500: '#eaf45f',
    950: '#000000',
  },
}
SCSS
$custom: #eaf45f;
$custom-light: #f4f792;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf45f",
  "rgb": {
    "r": 234,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 64.027,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93228,
    "c": 0.16941,
    "h": 112.9
  },
  "luminance": 0.8302
}

Semantic roles & 50–950 ramp

primary
#EAF45F
secondary
#3A30C7
accent
#02E411
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAF45F

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

Preview Lab → · Contrast checker → · Palette generator →

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