#EFD271#EFD271

#EFD271 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.9% C 0.121 H 93.1°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#EFD271
RGBrgb(239, 210, 113)
HSLhsl(46, 80%, 69%)
HSVhsv(46, 53%, 94%)
CMYKcmyk(0%, 12.1%, 52.7%, 6.3%)
CIE-LABlab(84.81, -1.78, 51.28)
CIE-LCHlch(84.81, 51.31, 91.98°)
OKLaboklab(86.85% -0.0065 0.1212)
OKLCHoklch(86.85% 0.121 93.1)
XYZxyz(61.6261, 65.6390, 25.0431)
Luminance0.6564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD271 #718EEF
analogous
#EF9371 #EFD271 #CDEF71
triadic
#EFD271 #71EFD2 #D271EF
tetradic
#EFD271 #71EF93 #718EEF #EF71CD
square
#EFD271 #71EF93 #718EEF #EF71CD
split-complementary
#EFD271 #71CDEF #9371EF
monochromatic
#CEA417 #E9C13A #EFD271 #F5E3A8 #FBF5DF

Accessibility & contrast

On white

1.49
#EFD271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#EFD271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD271
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD271#FFFFFF#000000##000000
##EFD2711.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF68
Deuteranopia (green-blind)
#EBD775
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #efd271;
/* rgb */ color: rgb(239, 210, 113);
/* oklch */ color: oklch(86.9% 0.121 93.1);
Tailwind
colors: {
  custom: {
    50: '#f7df9c',
    500: '#efd271',
    950: '#000000',
  },
}
SCSS
$custom: #efd271;
$custom-light: #f7df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#efd271",
  "rgb": {
    "r": 239,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 46.19,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86853,
    "c": 0.12139,
    "h": 93.1
  },
  "luminance": 0.65636
}

Semantic roles & 50–950 ramp

primary
#EFD271
secondary
#3C5CC8
accent
#3ADC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EFD271

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

Preview Lab → · Contrast checker → · Palette generator →

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