#EEE271#EEE271

#EEE271 is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.0% C 0.135 H 103.2°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#EEE271
RGBrgb(238, 226, 113)
HSLhsl(54, 79%, 69%)
HSVhsv(54, 53%, 93%)
CMYKcmyk(0%, 5%, 52.5%, 6.7%)
CIE-LABlab(88.81, -10.27, 55.98)
CIE-LCHlch(88.81, 56.91, 100.39°)
OKLaboklab(90% -0.0309 0.1315)
OKLCHoklch(90% 0.135 103.2)
XYZxyz(65.4389, 73.7643, 26.4105)
Luminance0.7376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEE271 #717DEE
analogous
#EEA471 #EEE271 #BCEE71
triadic
#EEE271 #71EEE2 #E271EE
tetradic
#EEE271 #71EEA4 #717DEE #EE71BC
square
#EEE271 #71EEA4 #717DEE #EE71BC
split-complementary
#EEE271 #71BCEE #A471EE
monochromatic
#CCBB18 #E7D73A #EEE271 #F5EDA8 #FBF8DE

Accessibility & contrast

On white

1.33
#EEE271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#EEE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEE271
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEE271#FFFFFF#000000##000000
##EEE2711.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC66
Deuteranopia (green-blind)
#F7E276
Tritanopia (blue-blind)
#FDD5C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #eee271;
/* rgb */ color: rgb(238, 226, 113);
/* oklch */ color: oklch(90.0% 0.135 103.2);
Tailwind
colors: {
  custom: {
    50: '#f6ea9d',
    500: '#eee271',
    950: '#000000',
  },
}
SCSS
$custom: #eee271;
$custom-light: #f6ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#eee271",
  "rgb": {
    "r": 238,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 54.24,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.9,
    "c": 0.13506,
    "h": 103.2
  },
  "luminance": 0.73762
}

Semantic roles & 50–950 ramp

primary
#EEE271
secondary
#3D4AC7
accent
#1FDB0B
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EEE271

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

Preview Lab → · Contrast checker → · Palette generator →

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