#EFE271#EFE271

#EFE271 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 90.1% C 0.135 H 102.8°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#EFE271
RGBrgb(239, 226, 113)
HSLhsl(54, 80%, 69%)
HSVhsv(54, 53%, 94%)
CMYKcmyk(0%, 5.4%, 52.7%, 6.3%)
CIE-LABlab(88.89, -9.86, 56.10)
CIE-LCHlch(88.89, 56.96, 99.97°)
OKLaboklab(90.09% -0.0298 0.1317)
OKLCHoklch(90.09% 0.135 102.8)
XYZxyz(65.7756, 73.9379, 26.4262)
Luminance0.7394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE271 #717EEF
analogous
#EFA371 #EFE271 #BDEF71
triadic
#EFE271 #71EFE2 #E271EF
tetradic
#EFE271 #71EFA3 #717EEF #EF71BD
square
#EFE271 #71EFA3 #717EEF #EF71BD
split-complementary
#EFE271 #71BDEF #A371EF
monochromatic
#CEBB17 #E9D73A #EFE271 #F5EDA8 #FBF8DF

Accessibility & contrast

On white

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

On black

15.79
#EFE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE271
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE271#FFFFFF#000000##000000
##EFE2711.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe271;
/* rgb */ color: rgb(239, 226, 113);
/* oklch */ color: oklch(90.1% 0.135 102.8);
Tailwind
colors: {
  custom: {
    50: '#f7ea9d',
    500: '#efe271',
    950: '#000000',
  },
}
SCSS
$custom: #efe271;
$custom-light: #f7ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#efe271",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 53.81,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90085,
    "c": 0.13505,
    "h": 102.8
  },
  "luminance": 0.73936
}

Semantic roles & 50–950 ramp

primary
#EFE271
secondary
#3C4BC8
accent
#1FDC09
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EFE271

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

Preview Lab → · Contrast checker → · Palette generator →

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