#EAFB7C#EAFB7C

#EAFB7C is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.0% C 0.153 H 115.7°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#EAFB7C
RGBrgb(234, 251, 124)
HSLhsl(68, 94%, 74%)
HSVhsv(68, 51%, 98%)
CMYKcmyk(6.8%, 0%, 50.6%, 1.6%)
CIE-LABlab(95.14, -23.10, 58.31)
CIE-LCHlch(95.14, 62.72, 111.61°)
OKLaboklab(95.01% -0.0662 0.1376)
OKLCHoklch(95.01% 0.153 115.7)
XYZxyz(72.0680, 87.9429, 32.2430)
Luminance0.8794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAFB7C #8D7CFB
analogous
#FBCC7C #EAFB7C #AAFB7C
triadic
#EAFB7C #7CEAFB #FB7CEA
tetradic
#EAFB7C #7CFBCC #8D7CFB #FB7CAA
square
#EAFB7C #7CFBCC #8D7CFB #FB7CAA
split-complementary
#EAFB7C #7CAAFB #CC7CFB
monochromatic
#D5F507 #E0F941 #EAFB7C #F4FDB7 #FAFEE1

Accessibility & contrast

On white

1.13
#EAFB7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.59
#EAFB7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAFB7C
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAFB7C#FFFFFF#000000##000000
##EAFB7C1.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF070
Deuteranopia (green-blind)
#FFF283
Tritanopia (blue-blind)
#F6EFDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #eafb7c;
/* rgb */ color: rgb(234, 251, 124);
/* oklch */ color: oklch(95.0% 0.153 115.7);
Tailwind
colors: {
  custom: {
    50: '#f3fca5',
    500: '#eafb7c',
    950: '#000000',
  },
}
SCSS
$custom: #eafb7c;
$custom-light: #f3fca5;
$custom-dark: #000000;
JSON
{
  "hex": "#eafb7c",
  "rgb": {
    "r": 234,
    "g": 251,
    "b": 124
  },
  "hsl": {
    "h": 68.031,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95005,
    "c": 0.15269,
    "h": 115.7
  },
  "luminance": 0.87942
}

Semantic roles & 50–950 ramp

primary
#EAFB7C
secondary
#5743D8
accent
#00E61F
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAFB7C

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

Preview Lab → · Contrast checker → · Palette generator →

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