#EAF273#EAF273

#EAF273 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.0% C 0.151 H 112.2°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#EAF273
RGBrgb(234, 242, 115)
HSLhsl(64, 83%, 70%)
HSVhsv(64, 52%, 95%)
CMYKcmyk(3.3%, 0%, 52.5%, 5.1%)
CIE-LABlab(92.68, -19.55, 59.49)
CIE-LCHlch(92.68, 62.62, 108.19°)
OKLaboklab(93.01% -0.057 0.1393)
OKLCHoklch(93.01% 0.151 112.2)
XYZxyz(68.7798, 82.2358, 28.4662)
Luminance0.8223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF273 #7B73F2
analogous
#F2BB73 #EAF273 #AAF273
triadic
#EAF273 #73EAF2 #F273EA
tetradic
#EAF273 #73F2BB #7B73F2 #F273AA
square
#EAF273 #73F2BB #7B73F2 #F273AA
split-complementary
#EAF273 #73AAF2 #BB73F2
monochromatic
#CAD714 #E2ED3B #EAF273 #F2F7AB #FBFCE3

Accessibility & contrast

On white

1.20
#EAF273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#EAF273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF273
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF273#FFFFFF#000000##000000
##EAF2731.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE867
Deuteranopia (green-blind)
#FFEC7A
Tritanopia (blue-blind)
#F7E5D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #eaf273;
/* rgb */ color: rgb(234, 242, 115);
/* oklch */ color: oklch(93.0% 0.151 112.2);
Tailwind
colors: {
  custom: {
    50: '#f3f69f',
    500: '#eaf273',
    950: '#000000',
  },
}
SCSS
$custom: #eaf273;
$custom-light: #f3f69f;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf273",
  "rgb": {
    "r": 234,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 63.78,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.9301,
    "c": 0.15054,
    "h": 112.2
  },
  "luminance": 0.82234
}

Semantic roles & 50–950 ramp

primary
#EAF273
secondary
#463DCC
accent
#06DF14
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF273

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

Preview Lab → · Contrast checker → · Palette generator →

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