#EFE38D#EFE38D

#EFE38D is a very light, moderate yellow. Relative luminance 0.752; OKLCH L 90.7% C 0.108 H 101.4°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#EFE38D
RGBrgb(239, 227, 141)
HSLhsl(53, 75%, 75%)
HSVhsv(53, 41%, 94%)
CMYKcmyk(0%, 5%, 41%, 6.3%)
CIE-LABlab(89.49, -7.79, 43.41)
CIE-LCHlch(89.49, 44.11, 100.18°)
OKLaboklab(90.67% -0.0212 0.1057)
OKLCHoklch(90.67% 0.108 101.4)
XYZxyz(67.8748, 75.2139, 36.1364)
Luminance0.7521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE38D #8D99EF
analogous
#EFB28D #EFE38D #CAEF8D
triadic
#EFE38D #8DEFE3 #E38DEF
tetradic
#EFE38D #8DEFB2 #8D99EF #EF8DCA
square
#EFE38D #8DEFB2 #8D99EF #EF8DCA
split-complementary
#EFE38D #8DCAEF #B28DEF
monochromatic
#E0C922 #E7D657 #EFE38D #F7F0C3 #FBF8E4

Accessibility & contrast

On white

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

On black

16.04
#EFE38D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE38D
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE38D#FFFFFF#000000##000000
##EFE38D1.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DE86
Deuteranopia (green-blind)
#F6E390
Tritanopia (blue-blind)
#FCD8CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #efe38d;
/* rgb */ color: rgb(239, 227, 141);
/* oklch */ color: oklch(90.7% 0.108 101.4);
Tailwind
colors: {
  custom: {
    50: '#f6ebaf',
    500: '#efe38d',
    950: '#000000',
  },
}
SCSS
$custom: #efe38d;
$custom-light: #f6ebaf;
$custom-dark: #000000;
JSON
{
  "hex": "#efe38d",
  "rgb": {
    "r": 239,
    "g": 227,
    "b": 141
  },
  "hsl": {
    "h": 52.653,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.90672,
    "c": 0.10776,
    "h": 101.4
  },
  "luminance": 0.75212
}

Semantic roles & 50–950 ramp

primary
#EFE38D
secondary
#5664CB
accent
#27D80E
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFE38D

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

Preview Lab → · Contrast checker → · Palette generator →

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