#EFEF97#EFEF97

#EFEF97 is a very light, moderate yellow. Relative luminance 0.823; OKLCH L 93.3% C 0.110 H 108.4°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#EFEF97
RGBrgb(239, 239, 151)
HSLhsl(60, 73%, 76%)
HSVhsv(60, 37%, 94%)
CMYKcmyk(0%, 0%, 36.8%, 6.3%)
CIE-LABlab(92.72, -12.70, 42.59)
CIE-LCHlch(92.72, 44.44, 106.61°)
OKLaboklab(93.28% -0.0346 0.1042)
OKLCHoklch(93.28% 0.11 108.4)
XYZxyz(72.0499, 82.3195, 41.3659)
Luminance0.8232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEF97 #9797EF
analogous
#EFC397 #EFEF97 #C3EF97
triadic
#EFEF97 #97EFEF #EF97EF
tetradic
#EFEF97 #97EFC3 #9797EF #EF97C3
square
#EFEF97 #97EFC3 #9797EF #EF97C3
split-complementary
#EFEF97 #97C3EF #C397EF
monochromatic
#DFDF2D #E7E762 #EFEF97 #F7F7CC #FBFBE4

Accessibility & contrast

On white

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

On black

17.46
#EFEF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEF97
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEF97#FFFFFF#000000##000000
##EFEF971.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE890
Deuteranopia (green-blind)
#FEEC9B
Tritanopia (blue-blind)
#FBE5D9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #efef97;
/* rgb */ color: rgb(239, 239, 151);
/* oklch */ color: oklch(93.3% 0.110 108.4);
Tailwind
colors: {
  custom: {
    50: '#f5f4b6',
    500: '#efef97',
    950: '#000000',
  },
}
SCSS
$custom: #efef97;
$custom-light: #f5f4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#efef97",
  "rgb": {
    "r": 239,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 60,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.93275,
    "c": 0.10983,
    "h": 108.4
  },
  "luminance": 0.82318
}

Semantic roles & 50–950 ramp

primary
#EFEF97
secondary
#5F5FCB
accent
#10D510
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EFEF97

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

Preview Lab → · Contrast checker → · Palette generator →

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