#EAF262#EAF262

#EAF262 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 92.8% C 0.165 H 112.2°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#EAF262
RGBrgb(234, 242, 98)
HSLhsl(63, 85%, 67%)
HSVhsv(63, 60%, 95%)
CMYKcmyk(3.3%, 0%, 59.5%, 5.1%)
CIE-LABlab(92.52, -20.82, 66.66)
CIE-LCHlch(92.52, 69.84, 107.34°)
OKLaboklab(92.84% -0.0623 0.1528)
OKLCHoklch(92.84% 0.165 112.2)
XYZxyz(67.8902, 81.8800, 23.7810)
Luminance0.8188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF262 #6A62F2
analogous
#F2B262 #EAF262 #A2F262
triadic
#EAF262 #62EAF2 #F262EA
tetradic
#EAF262 #62F2B2 #6A62F2 #F262A2
square
#EAF262 #62F2B2 #6A62F2 #F262A2
split-complementary
#EAF262 #62A2F2 #B262F2
monochromatic
#BFC911 #E2ED29 #EAF262 #F2F79B #F9FBD3

Accessibility & contrast

On white

1.21
#EAF262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.38
#EAF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF262
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF262#FFFFFF#000000##000000
##EAF2621.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFEB6B
Tritanopia (blue-blind)
#F9E5D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #eaf262;
/* rgb */ color: rgb(234, 242, 98);
/* oklch */ color: oklch(92.8% 0.165 112.2);
Tailwind
colors: {
  custom: {
    50: '#f4f694',
    500: '#eaf262',
    950: '#000000',
  },
}
SCSS
$custom: #eaf262;
$custom-light: #f4f694;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf262",
  "rgb": {
    "r": 234,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 63.333,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.92835,
    "c": 0.16495,
    "h": 112.2
  },
  "luminance": 0.81879
}

Semantic roles & 50–950 ramp

primary
#EAF262
secondary
#3B33C6
accent
#04E111
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EAF262

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

Preview Lab → · Contrast checker → · Palette generator →

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