#EFE38B#EFE38B

#EFE38B is a very light, moderate yellow. Relative luminance 0.752; OKLCH L 90.6% C 0.110 H 101.5°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#EFE38B
RGBrgb(239, 227, 139)
HSLhsl(53, 76%, 74%)
HSVhsv(53, 42%, 94%)
CMYKcmyk(0%, 5%, 41.8%, 6.3%)
CIE-LABlab(89.47, -8.00, 44.37)
CIE-LCHlch(89.47, 45.08, 100.22°)
OKLaboklab(90.64% -0.022 0.1077)
OKLCHoklch(90.64% 0.11 101.5)
XYZxyz(67.7273, 75.1549, 35.3598)
Luminance0.7515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE38B #8B97EF
analogous
#EFB18B #EFE38B #C9EF8B
triadic
#EFE38B #8BEFE3 #E38BEF
tetradic
#EFE38B #8BEFB1 #8B97EF #EF8BC9
square
#EFE38B #8BEFB1 #8B97EF #EF8BC9
split-complementary
#EFE38B #8BC9EF #B18BEF
monochromatic
#E0C91F #E8D655 #EFE38B #F6F0C1 #FBF9E4

Accessibility & contrast

On white

1.31
#EFE38B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#EFE38B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE38B
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE38B#FFFFFF#000000##000000
##EFE38B1.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DE84
Deuteranopia (green-blind)
#F6E38F
Tritanopia (blue-blind)
#FDD8CD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #efe38b;
/* rgb */ color: rgb(239, 227, 139);
/* oklch */ color: oklch(90.6% 0.110 101.5);
Tailwind
colors: {
  custom: {
    50: '#f6ebae',
    500: '#efe38b',
    950: '#000000',
  },
}
SCSS
$custom: #efe38b;
$custom-light: #f6ebae;
$custom-dark: #000000;
JSON
{
  "hex": "#efe38b",
  "rgb": {
    "r": 239,
    "g": 227,
    "b": 139
  },
  "hsl": {
    "h": 52.8,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90641,
    "c": 0.10992,
    "h": 101.5
  },
  "luminance": 0.75153
}

Semantic roles & 50–950 ramp

primary
#EFE38B
secondary
#5462CA
accent
#26D80E
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFE38B

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

Preview Lab → · Contrast checker → · Palette generator →

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