#EFD371#EFD371

#EFD371 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.1% C 0.122 H 93.8°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#EFD371
RGBrgb(239, 211, 113)
HSLhsl(47, 80%, 69%)
HSVhsv(47, 53%, 94%)
CMYKcmyk(0%, 11.7%, 52.7%, 6.3%)
CIE-LABlab(85.06, -2.29, 51.58)
CIE-LCHlch(85.06, 51.63, 92.54°)
OKLaboklab(87.05% -0.008 0.1219)
OKLCHoklch(87.05% 0.122 93.8)
XYZxyz(61.8738, 66.1343, 25.1256)
Luminance0.6613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD371 #718DEF
analogous
#EF9471 #EFD371 #CCEF71
triadic
#EFD371 #71EFD3 #D371EF
tetradic
#EFD371 #71EF94 #718DEF #EF71CC
square
#EFD371 #71EF94 #718DEF #EF71CC
split-complementary
#EFD371 #71CCEF #9471EF
monochromatic
#CEA617 #E9C23A #EFD371 #F5E4A8 #FBF5DF

Accessibility & contrast

On white

1.48
#EFD371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#EFD371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD371
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD371#FFFFFF#000000##000000
##EFD3711.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D068
Deuteranopia (green-blind)
#ECD875
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #efd371;
/* rgb */ color: rgb(239, 211, 113);
/* oklch */ color: oklch(87.1% 0.122 93.8);
Tailwind
colors: {
  custom: {
    50: '#f7e09c',
    500: '#efd371',
    950: '#000000',
  },
}
SCSS
$custom: #efd371;
$custom-light: #f7e09c;
$custom-dark: #000000;
JSON
{
  "hex": "#efd371",
  "rgb": {
    "r": 239,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 46.667,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87053,
    "c": 0.12213,
    "h": 93.8
  },
  "luminance": 0.66132
}

Semantic roles & 50–950 ramp

primary
#EFD371
secondary
#3C5BC8
accent
#38DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EFD371

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

Preview Lab → · Contrast checker → · Palette generator →

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