#EFE38C#EFE38C

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

Color values

HEX#EFE38C
RGBrgb(239, 227, 140)
HSLhsl(53, 76%, 74%)
HSVhsv(53, 41%, 94%)
CMYKcmyk(0%, 5%, 41.4%, 6.3%)
CIE-LABlab(89.48, -7.90, 43.89)
CIE-LCHlch(89.48, 44.59, 100.20°)
OKLaboklab(90.66% -0.0216 0.1067)
OKLCHoklch(90.66% 0.109 101.4)
XYZxyz(67.8007, 75.1843, 35.7464)
Luminance0.7518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE38C #8C98EF
analogous
#EFB28C #EFE38C #CAEF8C
triadic
#EFE38C #8CEFE3 #E38CEF
tetradic
#EFE38C #8CEFB2 #8C98EF #EF8CCA
square
#EFE38C #8CEFB2 #8C98EF #EF8CCA
split-complementary
#EFE38C #8CCAEF #B28CEF
monochromatic
#E0C921 #E8D656 #EFE38C #F6F0C2 #FBF8E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFE38C#FFFFFF#000000##000000
##EFE38C1.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)
#F2DE85
Deuteranopia (green-blind)
#F6E390
Tritanopia (blue-blind)
#FDD8CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #efe38c;
/* rgb */ color: rgb(239, 227, 140);
/* oklch */ color: oklch(90.7% 0.109 101.4);
Tailwind
colors: {
  custom: {
    50: '#f6ebaf',
    500: '#efe38c',
    950: '#000000',
  },
}
SCSS
$custom: #efe38c;
$custom-light: #f6ebaf;
$custom-dark: #000000;
JSON
{
  "hex": "#efe38c",
  "rgb": {
    "r": 239,
    "g": 227,
    "b": 140
  },
  "hsl": {
    "h": 52.727,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90656,
    "c": 0.10883,
    "h": 101.4
  },
  "luminance": 0.75182
}

Semantic roles & 50–950 ramp

primary
#EFE38C
secondary
#5563CB
accent
#26D80E
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFE38C

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

Preview Lab → · Contrast checker → · Palette generator →

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