#EFE18B#EFE18B

#EFE18B is a very light, moderate yellow. Relative luminance 0.741; OKLCH L 90.2% C 0.108 H 100.2°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#EFE18B
RGBrgb(239, 225, 139)
HSLhsl(52, 76%, 74%)
HSVhsv(52, 42%, 94%)
CMYKcmyk(0%, 5.9%, 41.8%, 6.3%)
CIE-LABlab(88.95, -6.99, 43.72)
CIE-LCHlch(88.95, 44.28, 99.09°)
OKLaboklab(90.24% -0.0191 0.1062)
OKLCHoklch(90.24% 0.108 100.2)
XYZxyz(67.1835, 74.0673, 35.1785)
Luminance0.7407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE18B #8B99EF
analogous
#EFAF8B #EFE18B #CBEF8B
triadic
#EFE18B #8BEFE1 #E18BEF
tetradic
#EFE18B #8BEFAF #8B99EF #EF8BCB
square
#EFE18B #8BEFAF #8B99EF #EF8BCB
split-complementary
#EFE18B #8BCBEF #AF8BEF
monochromatic
#E0C51F #E8D355 #EFE18B #F6EFC1 #FBF8E4

Accessibility & contrast

On white

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

On black

15.81
#EFE18B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE18B
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE18B#FFFFFF#000000##000000
##EFE18B1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC84
Deuteranopia (green-blind)
#F4E28E
Tritanopia (blue-blind)
#FDD6CC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #efe18b;
/* rgb */ color: rgb(239, 225, 139);
/* oklch */ color: oklch(90.2% 0.108 100.2);
Tailwind
colors: {
  custom: {
    50: '#f6eaae',
    500: '#efe18b',
    950: '#000000',
  },
}
SCSS
$custom: #efe18b;
$custom-light: #f6eaae;
$custom-dark: #000000;
JSON
{
  "hex": "#efe18b",
  "rgb": {
    "r": 239,
    "g": 225,
    "b": 139
  },
  "hsl": {
    "h": 51.6,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90236,
    "c": 0.10793,
    "h": 100.2
  },
  "luminance": 0.74065
}

Semantic roles & 50–950 ramp

primary
#EFE18B
secondary
#5464CA
accent
#2AD80E
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFE18B

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

Preview Lab → · Contrast checker → · Palette generator →

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