#EAF072#EAF072

#EAF072 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.6% C 0.149 H 111.5°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#EAF072
RGBrgb(234, 240, 114)
HSLhsl(63, 81%, 69%)
HSVhsv(63, 53%, 94%)
CMYKcmyk(2.5%, 0%, 52.5%, 5.9%)
CIE-LABlab(92.14, -18.66, 59.32)
CIE-LCHlch(92.14, 62.19, 107.46°)
OKLaboklab(92.58% -0.0546 0.1389)
OKLCHoklch(92.58% 0.149 111.5)
XYZxyz(68.1305, 81.0289, 27.9675)
Luminance0.8103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF072 #7872F0
analogous
#F0B772 #EAF072 #ABF072
triadic
#EAF072 #72EAF0 #F072EA
tetradic
#EAF072 #72F0B7 #7872F0 #F072AB
square
#EAF072 #72F0B7 #7872F0 #F072AB
split-complementary
#EAF072 #72ABF0 #B772F0
monochromatic
#C8D116 #E2EA3B #EAF072 #F2F6A9 #FAFCE1

Accessibility & contrast

On white

1.22
#EAF072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.21
#EAF072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF072
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF072#FFFFFF#000000##000000
##EAF0721.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE766
Deuteranopia (green-blind)
#FFEA79
Tritanopia (blue-blind)
#F8E3D4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #eaf072;
/* rgb */ color: rgb(234, 240, 114);
/* oklch */ color: oklch(92.6% 0.149 111.5);
Tailwind
colors: {
  custom: {
    50: '#f3f49e',
    500: '#eaf072',
    950: '#000000',
  },
}
SCSS
$custom: #eaf072;
$custom-light: #f3f49e;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf072",
  "rgb": {
    "r": 234,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 62.857,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.92581,
    "c": 0.14921,
    "h": 111.5
  },
  "luminance": 0.81028
}

Semantic roles & 50–950 ramp

primary
#EAF072
secondary
#443DC9
accent
#08DD13
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF072

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

Preview Lab → · Contrast checker → · Palette generator →

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