#EFE27B#EFE27B

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

Color values

HEX#EFE27B
RGBrgb(239, 226, 123)
HSLhsl(53, 78%, 71%)
HSVhsv(53, 49%, 94%)
CMYKcmyk(0%, 5.4%, 48.5%, 6.3%)
CIE-LABlab(89.01, -9.02, 51.55)
CIE-LCHlch(89.01, 52.33, 99.93°)
OKLaboklab(90.21% -0.0264 0.1227)
OKLCHoklch(90.21% 0.125 102.1)
XYZxyz(66.3699, 74.1757, 29.5563)
Luminance0.7417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE27B #7B88EF
analogous
#EFA87B #EFE27B #C2EF7B
triadic
#EFE27B #7BEFE2 #E27BEF
tetradic
#EFE27B #7BEFA8 #7B88EF #EF7BC2
square
#EFE27B #7BEFA8 #7B88EF #EF7BC2
split-complementary
#EFE27B #7BC2EF #A87BEF
monochromatic
#D6C11A #E8D644 #EFE27B #F6EEB2 #FCF9E4

Accessibility & contrast

On white

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

On black

15.83
#EFE27B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE27B
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE27B#FFFFFF#000000##000000
##EFE27B1.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe27b;
/* rgb */ color: rgb(239, 226, 123);
/* oklch */ color: oklch(90.2% 0.125 102.1);
Tailwind
colors: {
  custom: {
    50: '#f6eaa3',
    500: '#efe27b',
    950: '#000000',
  },
}
SCSS
$custom: #efe27b;
$custom-light: #f6eaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#efe27b",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 123
  },
  "hsl": {
    "h": 53.276,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.9021,
    "c": 0.12547,
    "h": 102.1
  },
  "luminance": 0.74173
}

Semantic roles & 50–950 ramp

primary
#EFE27B
secondary
#4554C9
accent
#22DB0B
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EFE27B

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

Preview Lab → · Contrast checker → · Palette generator →

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