#EFEF7B#EFEF7B

#EFEF7B is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.9% C 0.139 H 108.8°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#EFEF7B
RGBrgb(239, 239, 123)
HSLhsl(60, 78%, 71%)
HSVhsv(60, 49%, 94%)
CMYKcmyk(0%, 0%, 48.5%, 6.3%)
CIE-LABlab(92.36, -15.45, 55.57)
CIE-LCHlch(92.36, 57.68, 105.54°)
OKLaboklab(92.88% -0.0448 0.1315)
OKLCHoklch(92.88% 0.139 108.8)
XYZxyz(70.0398, 81.5155, 30.7796)
Luminance0.8151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEF7B #7B7BEF
analogous
#EFB57B #EFEF7B #B5EF7B
triadic
#EFEF7B #7BEFEF #EF7BEF
tetradic
#EFEF7B #7BEFB5 #7B7BEF #EF7BB5
square
#EFEF7B #7BEFB5 #7B7BEF #EF7BB5
split-complementary
#EFEF7B #7BB5EF #B57BEF
monochromatic
#D6D61A #E8E844 #EFEF7B #F6F6B2 #FCFCE4

Accessibility & contrast

On white

1.21
#EFEF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#EFEF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEF7B
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEF7B#FFFFFF#000000##000000
##EFEF7B1.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE770
Deuteranopia (green-blind)
#FFEB81
Tritanopia (blue-blind)
#FDE3D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #efef7b;
/* rgb */ color: rgb(239, 239, 123);
/* oklch */ color: oklch(92.9% 0.139 108.8);
Tailwind
colors: {
  custom: {
    50: '#f6f4a4',
    500: '#efef7b',
    950: '#000000',
  },
}
SCSS
$custom: #efef7b;
$custom-light: #f6f4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#efef7b",
  "rgb": {
    "r": 239,
    "g": 239,
    "b": 123
  },
  "hsl": {
    "h": 60,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92877,
    "c": 0.13891,
    "h": 108.8
  },
  "luminance": 0.81514
}

Semantic roles & 50–950 ramp

primary
#EFEF7B
secondary
#4545C9
accent
#0BDB0B
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EFEF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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