#EFE27C#EFE27C

#EFE27C is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 90.2% C 0.124 H 102.1°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#EFE27C
RGBrgb(239, 226, 124)
HSLhsl(53, 78%, 71%)
HSVhsv(53, 48%, 94%)
CMYKcmyk(0%, 5.4%, 48.1%, 6.3%)
CIE-LABlab(89.02, -8.93, 51.09)
CIE-LCHlch(89.02, 51.86, 99.92°)
OKLaboklab(90.22% -0.026 0.1217)
OKLCHoklch(90.22% 0.124 102.1)
XYZxyz(66.4328, 74.2008, 29.8876)
Luminance0.7420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE27C #7C89EF
analogous
#EFA87C #EFE27C #C2EF7C
triadic
#EFE27C #7CEFE2 #E27CEF
tetradic
#EFE27C #7CEFA8 #7C89EF #EF7CC2
square
#EFE27C #7CEFA8 #7C89EF #EF7CC2
split-complementary
#EFE27C #7CC2EF #A87CEF
monochromatic
#D6C11A #E8D645 #EFE27C #F6EEB3 #FCF9E4

Accessibility & contrast

On white

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

On black

15.84
#EFE27C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE27C
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE27C#FFFFFF#000000##000000
##EFE27C1.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC73
Deuteranopia (green-blind)
#F6E281
Tritanopia (blue-blind)
#FED6CA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #efe27c;
/* rgb */ color: rgb(239, 226, 124);
/* oklch */ color: oklch(90.2% 0.124 102.1);
Tailwind
colors: {
  custom: {
    50: '#f6eaa4',
    500: '#efe27c',
    950: '#000000',
  },
}
SCSS
$custom: #efe27c;
$custom-light: #f6eaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#efe27c",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 124
  },
  "hsl": {
    "h": 53.217,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90223,
    "c": 0.12447,
    "h": 102.1
  },
  "luminance": 0.74199
}

Semantic roles & 50–950 ramp

primary
#EFE27C
secondary
#4655C9
accent
#22DA0B
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EFE27C

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

Preview Lab → · Contrast checker → · Palette generator →

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