#EEF271#EEF271

#EEF271 is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.3% C 0.152 H 110.6°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#EEF271
RGBrgb(238, 242, 113)
HSLhsl(62, 83%, 70%)
HSVhsv(62, 53%, 95%)
CMYKcmyk(1.7%, 0%, 53.3%, 5.1%)
CIE-LABlab(92.96, -18.13, 60.79)
CIE-LCHlch(92.96, 63.43, 106.61°)
OKLaboklab(93.3% -0.0534 0.1419)
OKLCHoklch(93.3% 0.152 110.6)
XYZxyz(69.9943, 82.8752, 27.9289)
Luminance0.8287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF271 #7571F2
analogous
#F2B571 #EEF271 #AEF271
triadic
#EEF271 #71EEF2 #F271EE
tetradic
#EEF271 #71F2B5 #7571F2 #F271AE
square
#EEF271 #71F2B5 #7571F2 #F271AE
split-complementary
#EEF271 #71AEF2 #B571F2
monochromatic
#CFD514 #E7ED39 #EEF271 #F5F7A9 #FBFCE1

Accessibility & contrast

On white

1.19
#EEF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#EEF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF271
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF271#FFFFFF#000000##000000
##EEF2711.001.1917.5717.57
#FFFFFF1.191.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFED78
Tritanopia (blue-blind)
#FCE5D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #eef271;
/* rgb */ color: rgb(238, 242, 113);
/* oklch */ color: oklch(93.3% 0.152 110.6);
Tailwind
colors: {
  custom: {
    50: '#f6f69d',
    500: '#eef271',
    950: '#000000',
  },
}
SCSS
$custom: #eef271;
$custom-light: #f6f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#eef271",
  "rgb": {
    "r": 238,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 61.86,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93302,
    "c": 0.15157,
    "h": 110.6
  },
  "luminance": 0.82874
}

Semantic roles & 50–950 ramp

primary
#EEF271
secondary
#403CCB
accent
#06E00D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EEF271

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

Preview Lab → · Contrast checker → · Palette generator →

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