#EFE27F#EFE27F

#EFE27F is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.3% C 0.121 H 101.9°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#EFE27F
RGBrgb(239, 226, 127)
HSLhsl(53, 78%, 72%)
HSVhsv(53, 47%, 94%)
CMYKcmyk(0%, 5.4%, 46.9%, 6.3%)
CIE-LABlab(89.05, -8.66, 49.69)
CIE-LCHlch(89.05, 50.44, 99.89°)
OKLaboklab(90.26% -0.025 0.1189)
OKLCHoklch(90.26% 0.121 101.9)
XYZxyz(66.6254, 74.2779, 30.9020)
Luminance0.7428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE27F #7F8CEF
analogous
#EFAA7F #EFE27F #C4EF7F
triadic
#EFE27F #7FEFE2 #E27FEF
tetradic
#EFE27F #7FEFAA #7F8CEF #EF7FC4
square
#EFE27F #7FEFAA #7F8CEF #EF7FC4
split-complementary
#EFE27F #7FC4EF #AA7FEF
monochromatic
#D9C31B #E8D649 #EFE27F #F6EEB5 #FCF9E4

Accessibility & contrast

On white

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

On black

15.86
#EFE27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE27F
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE27F#FFFFFF#000000##000000
##EFE27F1.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC77
Deuteranopia (green-blind)
#F6E283
Tritanopia (blue-blind)
#FED6CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #efe27f;
/* rgb */ color: rgb(239, 226, 127);
/* oklch */ color: oklch(90.3% 0.121 101.9);
Tailwind
colors: {
  custom: {
    50: '#f6eaa6',
    500: '#efe27f',
    950: '#000000',
  },
}
SCSS
$custom: #efe27f;
$custom-light: #f6eaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#efe27f",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 127
  },
  "hsl": {
    "h": 53.036,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90264,
    "c": 0.12146,
    "h": 101.9
  },
  "luminance": 0.74276
}

Semantic roles & 50–950 ramp

primary
#EFE27F
secondary
#4958C9
accent
#23DA0B
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EFE27F

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

Preview Lab → · Contrast checker → · Palette generator →

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