#EFEC8E#EFEC8E

#EFEC8E is a very light, moderate yellow. Relative luminance 0.803; OKLCH L 92.5% C 0.116 H 106.9°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#EFEC8E
RGBrgb(239, 236, 142)
HSLhsl(58, 75%, 75%)
HSVhsv(58, 41%, 94%)
CMYKcmyk(0%, 1.3%, 40.6%, 6.3%)
CIE-LABlab(91.82, -12.18, 45.86)
CIE-LCHlch(91.82, 47.45, 104.87°)
OKLaboklab(92.52% -0.0337 0.1112)
OKLCHoklch(92.52% 0.116 106.9)
XYZxyz(70.4757, 80.2962, 37.3721)
Luminance0.8030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEC8E #8E91EF
analogous
#EFBB8E #EFEC8E #C2EF8E
triadic
#EFEC8E #8EEFEC #EC8EEF
tetradic
#EFEC8E #8EEFBB #8E91EF #EF8EC2
square
#EFEC8E #8EEFBB #8E91EF #EF8EC2
split-complementary
#EFEC8E #8EC2EF #BB8EEF
monochromatic
#E0DA23 #E7E358 #EFEC8E #F7F5C4 #FBFAE4

Accessibility & contrast

On white

1.23
#EFEC8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#EFEC8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEC8E
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEC8E#FFFFFF#000000##000000
##EFEC8E1.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE587
Deuteranopia (green-blind)
#FCE992
Tritanopia (blue-blind)
#FCE1D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #efec8e;
/* rgb */ color: rgb(239, 236, 142);
/* oklch */ color: oklch(92.5% 0.116 106.9);
Tailwind
colors: {
  custom: {
    50: '#f6f2b0',
    500: '#efec8e',
    950: '#000000',
  },
}
SCSS
$custom: #efec8e;
$custom-light: #f6f2b0;
$custom-dark: #000000;
JSON
{
  "hex": "#efec8e",
  "rgb": {
    "r": 239,
    "g": 236,
    "b": 142
  },
  "hsl": {
    "h": 58.144,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92521,
    "c": 0.11624,
    "h": 106.9
  },
  "luminance": 0.80295
}

Semantic roles & 50–950 ramp

primary
#EFEC8E
secondary
#565ACB
accent
#14D70E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171611
muted
#858581

Preview Lab

Preview with #EFEC8E

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

Preview Lab → · Contrast checker → · Palette generator →

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