#EAF07C#EAF07C

#EAF07C is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.7% C 0.140 H 111.5°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#EAF07C
RGBrgb(234, 240, 124)
HSLhsl(63, 79%, 71%)
HSVhsv(63, 48%, 94%)
CMYKcmyk(2.5%, 0%, 48.3%, 5.9%)
CIE-LABlab(92.25, -17.81, 54.88)
CIE-LCHlch(92.25, 57.70, 107.98°)
OKLaboklab(92.7% -0.0512 0.1301)
OKLCHoklch(92.7% 0.14 111.5)
XYZxyz(68.7312, 81.2692, 31.1307)
Luminance0.8127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF07C #827CF0
analogous
#F0BC7C #EAF07C #B0F07C
triadic
#EAF07C #7CEAF0 #F07CEA
tetradic
#EAF07C #7CF0BC #827CF0 #F07CB0
square
#EAF07C #7CF0BC #827CF0 #F07CB0
split-complementary
#EAF07C #7CB0F0 #BC7CF0
monochromatic
#CFD919 #E1EA45 #EAF07C #F3F6B3 #FBFCE4

Accessibility & contrast

On white

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

On black

17.25
#EAF07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF07C
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF07C#FFFFFF#000000##000000
##EAF07C1.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE772
Deuteranopia (green-blind)
#FFEA82
Tritanopia (blue-blind)
#F7E4D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #eaf07c;
/* rgb */ color: rgb(234, 240, 124);
/* oklch */ color: oklch(92.7% 0.140 111.5);
Tailwind
colors: {
  custom: {
    50: '#f3f4a4',
    500: '#eaf07c',
    950: '#000000',
  },
}
SCSS
$custom: #eaf07c;
$custom-light: #f3f4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf07c",
  "rgb": {
    "r": 234,
    "g": 240,
    "b": 124
  },
  "hsl": {
    "h": 63.103,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.927,
    "c": 0.13983,
    "h": 111.5
  },
  "luminance": 0.81268
}

Semantic roles & 50–950 ramp

primary
#EAF07C
secondary
#4D46CA
accent
#0ADC15
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF07C

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

Preview Lab → · Contrast checker → · Palette generator →

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