#EFE38F#EFE38F

#EFE38F is a very light, moderate yellow. Relative luminance 0.753; OKLCH L 90.7% C 0.106 H 101.2°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#EFE38F
RGBrgb(239, 227, 143)
HSLhsl(53, 75%, 75%)
HSVhsv(53, 40%, 94%)
CMYKcmyk(0%, 5%, 40.2%, 6.3%)
CIE-LABlab(89.52, -7.59, 42.46)
CIE-LCHlch(89.52, 43.13, 100.13°)
OKLaboklab(90.7% -0.0205 0.1036)
OKLCHoklch(90.7% 0.106 101.2)
XYZxyz(68.0249, 75.2740, 36.9273)
Luminance0.7527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE38F #8F9BEF
analogous
#EFB38F #EFE38F #CBEF8F
triadic
#EFE38F #8FEFE3 #E38FEF
tetradic
#EFE38F #8FEFB3 #8F9BEF #EF8FCB
square
#EFE38F #8FEFB3 #8F9BEF #EF8FCB
split-complementary
#EFE38F #8FCBEF #B38FEF
monochromatic
#E0C824 #E7D659 #EFE38F #F7F0C5 #FBF8E4

Accessibility & contrast

On white

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

On black

16.05
#EFE38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE38F
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE38F#FFFFFF#000000##000000
##EFE38F1.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe38f;
/* rgb */ color: rgb(239, 227, 143);
/* oklch */ color: oklch(90.7% 0.106 101.2);
Tailwind
colors: {
  custom: {
    50: '#f6ebb1',
    500: '#efe38f',
    950: '#000000',
  },
}
SCSS
$custom: #efe38f;
$custom-light: #f6ebb1;
$custom-dark: #000000;
JSON
{
  "hex": "#efe38f",
  "rgb": {
    "r": 239,
    "g": 227,
    "b": 143
  },
  "hsl": {
    "h": 52.5,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.90703,
    "c": 0.10557,
    "h": 101.2
  },
  "luminance": 0.75272
}

Semantic roles & 50–950 ramp

primary
#EFE38F
secondary
#5766CB
accent
#27D70E
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171611
muted
#858481

Preview Lab

Preview with #EFE38F

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

Preview Lab → · Contrast checker → · Palette generator →

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