#EFEC5D#EFEC5D

#EFEC5D is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 91.9% C 0.162 H 108.1°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#EFEC5D
RGBrgb(239, 236, 93)
HSLhsl(59, 82%, 65%)
HSVhsv(59, 61%, 94%)
CMYKcmyk(0%, 1.3%, 61.1%, 6.3%)
CIE-LABlab(91.29, -16.23, 67.51)
CIE-LCHlch(91.29, 69.43, 103.52°)
OKLaboklab(91.94% -0.0501 0.1538)
OKLCHoklch(91.94% 0.162 108.1)
XYZxyz(67.5700, 79.1340, 22.0688)
Luminance0.7913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEC5D #5D60EF
analogous
#EFA35D #EFEC5D #A9EF5D
triadic
#EFEC5D #5DEFEC #EC5DEF
tetradic
#EFEC5D #5DEFA3 #5D60EF #EF5DA9
square
#EFEC5D #5DEFA3 #5D60EF #EF5DA9
split-complementary
#EFEC5D #5DA9EF #A35DEF
monochromatic
#BFBB13 #E9E525 #EFEC5D #F5F395 #FAF9CC

Accessibility & contrast

On white

1.25
#EFEC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.83
#EFEC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEC5D
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEC5D#FFFFFF#000000##000000
##EFEC5D1.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE34C
Deuteranopia (green-blind)
#FFE966
Tritanopia (blue-blind)
#FFDECE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #efec5d;
/* rgb */ color: rgb(239, 236, 93);
/* oklch */ color: oklch(91.9% 0.162 108.1);
Tailwind
colors: {
  custom: {
    50: '#f7f191',
    500: '#efec5d',
    950: '#000000',
  },
}
SCSS
$custom: #efec5d;
$custom-light: #f7f191;
$custom-dark: #000000;
JSON
{
  "hex": "#efec5d",
  "rgb": {
    "r": 239,
    "g": 236,
    "b": 93
  },
  "hsl": {
    "h": 58.767,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.91936,
    "c": 0.16173,
    "h": 108.1
  },
  "luminance": 0.79132
}

Semantic roles & 50–950 ramp

primary
#EFEC5D
secondary
#3336BD
accent
#0CDE07
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #EFEC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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