#EFE371#EFE371

#EFE371 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.3% C 0.136 H 103.3°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#EFE371
RGBrgb(239, 227, 113)
HSLhsl(54, 80%, 69%)
HSVhsv(54, 53%, 94%)
CMYKcmyk(0%, 5%, 52.7%, 6.3%)
CIE-LABlab(89.15, -10.36, 56.40)
CIE-LCHlch(89.15, 57.34, 100.41°)
OKLaboklab(90.29% -0.0313 0.1324)
OKLCHoklch(90.29% 0.136 103.3)
XYZxyz(66.0483, 74.4834, 26.5171)
Luminance0.7448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE371 #717DEF
analogous
#EFA471 #EFE371 #BCEF71
triadic
#EFE371 #71EFE3 #E371EF
tetradic
#EFE371 #71EFA4 #717DEF #EF71BC
square
#EFE371 #71EFA4 #717DEF #EF71BC
split-complementary
#EFE371 #71BCEF #A471EF
monochromatic
#CEBD17 #E9D83A #EFE371 #F5EEA8 #FBF9DF

Accessibility & contrast

On white

1.32
#EFE371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#EFE371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE371
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE371#FFFFFF#000000##000000
##EFE3711.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC66
Deuteranopia (green-blind)
#F8E376
Tritanopia (blue-blind)
#FED6C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #efe371;
/* rgb */ color: rgb(239, 227, 113);
/* oklch */ color: oklch(90.3% 0.136 103.3);
Tailwind
colors: {
  custom: {
    50: '#f7eb9d',
    500: '#efe371',
    950: '#000000',
  },
}
SCSS
$custom: #efe371;
$custom-light: #f7eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#efe371",
  "rgb": {
    "r": 239,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 54.286,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90289,
    "c": 0.13601,
    "h": 103.3
  },
  "luminance": 0.74481
}

Semantic roles & 50–950 ramp

primary
#EFE371
secondary
#3C4AC8
accent
#1DDC09
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EFE371

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

Preview Lab → · Contrast checker → · Palette generator →

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