#EFE18C#EFE18C

#EFE18C is a very light, moderate yellow. Relative luminance 0.741; OKLCH L 90.3% C 0.107 H 100.1°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#EFE18C
RGBrgb(239, 225, 140)
HSLhsl(52, 76%, 74%)
HSVhsv(52, 41%, 94%)
CMYKcmyk(0%, 5.9%, 41.4%, 6.3%)
CIE-LABlab(88.97, -6.89, 43.24)
CIE-LCHlch(88.97, 43.79, 99.06°)
OKLaboklab(90.25% -0.0187 0.1052)
OKLCHoklch(90.25% 0.107 100.1)
XYZxyz(67.2569, 74.0966, 35.5651)
Luminance0.7409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE18C #8C9AEF
analogous
#EFB08C #EFE18C #CCEF8C
triadic
#EFE18C #8CEFE1 #E18CEF
tetradic
#EFE18C #8CEFB0 #8C9AEF #EF8CCC
square
#EFE18C #8CEFB0 #8C9AEF #EF8CCC
split-complementary
#EFE18C #8CCCEF #B08CEF
monochromatic
#E0C521 #E8D356 #EFE18C #F6EFC2 #FBF8E4

Accessibility & contrast

On white

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

On black

15.82
#EFE18C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE18C
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE18C#FFFFFF#000000##000000
##EFE18C1.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe18c;
/* rgb */ color: rgb(239, 225, 140);
/* oklch */ color: oklch(90.3% 0.107 100.1);
Tailwind
colors: {
  custom: {
    50: '#f6eaaf',
    500: '#efe18c',
    950: '#000000',
  },
}
SCSS
$custom: #efe18c;
$custom-light: #f6eaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#efe18c",
  "rgb": {
    "r": 239,
    "g": 225,
    "b": 140
  },
  "hsl": {
    "h": 51.515,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90252,
    "c": 0.10685,
    "h": 100.1
  },
  "luminance": 0.74095
}

Semantic roles & 50–950 ramp

primary
#EFE18C
secondary
#5565CB
accent
#2AD80E
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFE18C

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

Preview Lab → · Contrast checker → · Palette generator →

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