#EFEF56#EFEF56

#EFEF56 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.5% C 0.170 H 109.3°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#EFEF56
RGBrgb(239, 239, 86)
HSLhsl(60, 83%, 64%)
HSVhsv(60, 64%, 94%)
CMYKcmyk(0%, 0%, 64%, 6.3%)
CIE-LABlab(92.02, -18.11, 71.06)
CIE-LCHlch(92.02, 73.33, 104.30°)
OKLaboklab(92.5% -0.0561 0.1603)
OKLCHoklch(92.5% 0.17 109.3)
XYZxyz(68.1450, 80.7575, 20.8004)
Luminance0.8076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEF56 #5656EF
analogous
#EFA256 #EFEF56 #A2EF56
triadic
#EFEF56 #56EFEF #EF56EF
tetradic
#EFEF56 #56EFA2 #5656EF #EF56A2
square
#EFEF56 #56EFA2 #5656EF #EF56A2
split-complementary
#EFEF56 #56A2EF #A256EF
monochromatic
#B9B912 #EAEA1E #EFEF56 #F4F48E #FAFAC6

Accessibility & contrast

On white

1.22
#EFEF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.15
#EFEF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEF56
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEF56#FFFFFF#000000##000000
##EFEF561.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE541
Deuteranopia (green-blind)
#FFEA60
Tritanopia (blue-blind)
#FFE1D0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #efef56;
/* rgb */ color: rgb(239, 239, 86);
/* oklch */ color: oklch(92.5% 0.170 109.3);
Tailwind
colors: {
  custom: {
    50: '#f8f48d',
    500: '#efef56',
    950: '#000000',
  },
}
SCSS
$custom: #efef56;
$custom-light: #f8f48d;
$custom-dark: #000000;
JSON
{
  "hex": "#efef56",
  "rgb": {
    "r": 239,
    "g": 239,
    "b": 86
  },
  "hsl": {
    "h": 60,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.925,
    "c": 0.16981,
    "h": 109.3
  },
  "luminance": 0.80756
}

Semantic roles & 50–950 ramp

primary
#EFEF56
secondary
#3131B8
accent
#06DF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #EFEF56

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

Preview Lab → · Contrast checker → · Palette generator →

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