#EFEFA2#EFEFA2

#EFEFA2 is a very light, moderate yellow. Relative luminance 0.827; OKLCH L 93.5% C 0.097 H 108.1°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#EFEFA2
RGBrgb(239, 239, 162)
HSLhsl(60, 71%, 79%)
HSVhsv(60, 32%, 94%)
CMYKcmyk(0%, 0%, 32.2%, 6.3%)
CIE-LABlab(92.88, -11.45, 37.34)
CIE-LCHlch(92.88, 39.05, 107.05°)
OKLaboklab(93.46% -0.0303 0.0925)
OKLCHoklch(93.46% 0.097 108.1)
XYZxyz(72.9852, 82.6936, 46.2921)
Luminance0.8269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEFA2 #A2A2EF
analogous
#EFC8A2 #EFEFA2 #C8EFA2
triadic
#EFEFA2 #A2EFEF #EFA2EF
tetradic
#EFEFA2 #A2EFC8 #A2A2EF #EFA2C8
square
#EFEFA2 #A2EFC8 #A2A2EF #EFA2C8
split-complementary
#EFEFA2 #A2C8EF #C8A2EF
monochromatic
#DDDD3A #E6E66E #EFEFA2 #F8F8D6 #FBFBE5

Accessibility & contrast

On white

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

On black

17.54
#EFEFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEFA2
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEFA2#FFFFFF#000000##000000
##EFEFA21.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE99D
Deuteranopia (green-blind)
#FCECA5
Tritanopia (blue-blind)
#FAE6DB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #efefa2;
/* rgb */ color: rgb(239, 239, 162);
/* oklch */ color: oklch(93.5% 0.097 108.1);
Tailwind
colors: {
  custom: {
    50: '#f5f4be',
    500: '#efefa2',
    950: '#000000',
  },
}
SCSS
$custom: #efefa2;
$custom-light: #f5f4be;
$custom-dark: #000000;
JSON
{
  "hex": "#efefa2",
  "rgb": {
    "r": 239,
    "g": 239,
    "b": 162
  },
  "hsl": {
    "h": 60,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.93459,
    "c": 0.09735,
    "h": 108.1
  },
  "luminance": 0.82692
}

Semantic roles & 50–950 ramp

primary
#EFEFA2
secondary
#6969CC
accent
#13D313
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #EFEFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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