#EFEF9F#EFEF9F

#EFEF9F is a very light, moderate yellow. Relative luminance 0.826; OKLCH L 93.4% C 0.101 H 108.2°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#EFEF9F
RGBrgb(239, 239, 159)
HSLhsl(60, 71%, 78%)
HSVhsv(60, 33%, 94%)
CMYKcmyk(0%, 0%, 33.5%, 6.3%)
CIE-LABlab(92.83, -11.80, 38.77)
CIE-LCHlch(92.83, 40.53, 106.93°)
OKLaboklab(93.41% -0.0315 0.0958)
OKLCHoklch(93.41% 0.101 108.2)
XYZxyz(72.7218, 82.5882, 44.9044)
Luminance0.8259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEF9F #9F9FEF
analogous
#EFC79F #EFEF9F #C7EF9F
triadic
#EFEF9F #9FEFEF #EF9FEF
tetradic
#EFEF9F #9FEFC7 #9F9FEF #EF9FC7
square
#EFEF9F #9FEFC7 #9F9FEF #EF9FC7
split-complementary
#EFEF9F #9FC7EF #C79FEF
monochromatic
#DEDE36 #E6E66B #EFEF9F #F8F8D3 #FBFBE5

Accessibility & contrast

On white

1.20
#EFEF9F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#EFEF9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEF9F
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEF9F#FFFFFF#000000##000000
##EFEF9F1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE999
Deuteranopia (green-blind)
#FDECA2
Tritanopia (blue-blind)
#FAE5DB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #efef9f;
/* rgb */ color: rgb(239, 239, 159);
/* oklch */ color: oklch(93.4% 0.101 108.2);
Tailwind
colors: {
  custom: {
    50: '#f5f4bc',
    500: '#efef9f',
    950: '#000000',
  },
}
SCSS
$custom: #efef9f;
$custom-light: #f5f4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#efef9f",
  "rgb": {
    "r": 239,
    "g": 239,
    "b": 159
  },
  "hsl": {
    "h": 60,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.93407,
    "c": 0.1008,
    "h": 108.2
  },
  "luminance": 0.82587
}

Semantic roles & 50–950 ramp

primary
#EFEF9F
secondary
#6666CC
accent
#12D312
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #EFEF9F

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

Preview Lab → · Contrast checker → · Palette generator →

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