#EFE171#EFE171

#EFE171 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.9% C 0.134 H 102.2°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#EFE171
RGBrgb(239, 225, 113)
HSLhsl(53, 80%, 69%)
HSVhsv(53, 53%, 94%)
CMYKcmyk(0%, 5.9%, 52.7%, 6.3%)
CIE-LABlab(88.64, -9.36, 55.80)
CIE-LCHlch(88.64, 56.58, 99.53°)
OKLaboklab(89.88% -0.0284 0.1311)
OKLCHoklch(89.88% 0.134 102.2)
XYZxyz(65.5045, 73.3957, 26.3359)
Luminance0.7339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE171 #717FEF
analogous
#EFA271 #EFE171 #BEEF71
triadic
#EFE171 #71EFE1 #E171EF
tetradic
#EFE171 #71EFA2 #717FEF #EF71BE
square
#EFE171 #71EFA2 #717FEF #EF71BE
split-complementary
#EFE171 #71BEEF #A271EF
monochromatic
#CEBA17 #E9D53A #EFE171 #F5EDA8 #FBF8DF

Accessibility & contrast

On white

1.34
#EFE171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#EFE171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE171
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE171#FFFFFF#000000##000000
##EFE1711.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB66
Deuteranopia (green-blind)
#F7E176
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efe171;
/* rgb */ color: rgb(239, 225, 113);
/* oklch */ color: oklch(89.9% 0.134 102.2);
Tailwind
colors: {
  custom: {
    50: '#f7ea9d',
    500: '#efe171',
    950: '#000000',
  },
}
SCSS
$custom: #efe171;
$custom-light: #f7ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#efe171",
  "rgb": {
    "r": 239,
    "g": 225,
    "b": 113
  },
  "hsl": {
    "h": 53.333,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89881,
    "c": 0.13411,
    "h": 102.2
  },
  "luminance": 0.73393
}

Semantic roles & 50–950 ramp

primary
#EFE171
secondary
#3C4CC8
accent
#21DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EFE171

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

Preview Lab → · Contrast checker → · Palette generator →

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