#EAF672#EAF672

#EAF672 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 93.8% C 0.156 H 113.7°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#EAF672
RGBrgb(234, 246, 114)
HSLhsl(65, 88%, 71%)
HSVhsv(65, 54%, 96%)
CMYKcmyk(4.9%, 0%, 53.7%, 3.5%)
CIE-LABlab(93.72, -21.55, 61.14)
CIE-LCHlch(93.72, 64.82, 109.42°)
OKLaboklab(93.84% -0.0628 0.1428)
OKLCHoklch(93.84% 0.156 113.7)
XYZxyz(69.9261, 84.6200, 28.5660)
Luminance0.8462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF672 #7E72F6
analogous
#F6C072 #EAF672 #A8F672
triadic
#EAF672 #72EAF6 #F672EA
tetradic
#EAF672 #72F6C0 #7E72F6 #F672A8
square
#EAF672 #72F6C0 #7E72F6 #F672A8
split-complementary
#EAF672 #72A8F6 #C072F6
monochromatic
#CCDF0E #E1F238 #EAF672 #F3FAAC #FBFDE2

Accessibility & contrast

On white

1.17
#EAF672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#EAF672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF672
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF672#FFFFFF#000000##000000
##EAF6721.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC65
Deuteranopia (green-blind)
#FFEE79
Tritanopia (blue-blind)
#F7E9D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #eaf672;
/* rgb */ color: rgb(234, 246, 114);
/* oklch */ color: oklch(93.8% 0.156 113.7);
Tailwind
colors: {
  custom: {
    50: '#f3f99e',
    500: '#eaf672',
    950: '#000000',
  },
}
SCSS
$custom: #eaf672;
$custom-light: #f3f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf672",
  "rgb": {
    "r": 234,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 65.455,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93838,
    "c": 0.15596,
    "h": 113.7
  },
  "luminance": 0.84619
}

Semantic roles & 50–950 ramp

primary
#EAF672
secondary
#493CD1
accent
#01E516
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF672

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

Preview Lab → · Contrast checker → · Palette generator →

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