#EFE2A2#EFE2A2

#EFE2A2 is a very light, moderate yellow. Relative luminance 0.754; OKLCH L 90.8% C 0.083 H 98.0°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#EFE2A2
RGBrgb(239, 226, 162)
HSLhsl(50, 71%, 79%)
HSVhsv(50, 32%, 94%)
CMYKcmyk(0%, 5.4%, 32.2%, 6.3%)
CIE-LABlab(89.56, -4.94, 32.95)
CIE-LCHlch(89.56, 33.31, 98.52°)
OKLaboklab(90.83% -0.0116 0.0822)
OKLCHoklch(90.83% 0.083 98)
XYZxyz(69.3153, 75.3538, 45.0688)
Luminance0.7535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE2A2 #A2AFEF
analogous
#EFBBA2 #EFE2A2 #D5EFA2
triadic
#EFE2A2 #A2EFE2 #E2A2EF
tetradic
#EFE2A2 #A2EFBB #A2AFEF #EFA2D5
square
#EFE2A2 #A2EFBB #A2AFEF #EFA2D5
split-complementary
#EFE2A2 #A2D5EF #BBA2EF
monochromatic
#DDC13A #E6D26E #EFE2A2 #F8F2D6 #FBF7E5

Accessibility & contrast

On white

1.31
#EFE2A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#EFE2A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE2A2
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE2A2#FFFFFF#000000##000000
##EFE2A21.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDE9E
Deuteranopia (green-blind)
#F2E3A4
Tritanopia (blue-blind)
#FBD9D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #efe2a2;
/* rgb */ color: rgb(239, 226, 162);
/* oklch */ color: oklch(90.8% 0.083 98.0);
Tailwind
colors: {
  custom: {
    50: '#f5ebbe',
    500: '#efe2a2',
    950: '#000000',
  },
}
SCSS
$custom: #efe2a2;
$custom-light: #f5ebbe;
$custom-dark: #000000;
JSON
{
  "hex": "#efe2a2",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 162
  },
  "hsl": {
    "h": 49.87,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.90828,
    "c": 0.08302,
    "h": 98
  },
  "luminance": 0.75352
}

Semantic roles & 50–950 ramp

primary
#EFE2A2
secondary
#697ACC
accent
#33D313
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171612
muted
#858482

Preview Lab

Preview with #EFE2A2

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

Preview Lab → · Contrast checker → · Palette generator →

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