#EFE5A2#EFE5A2

#EFE5A2 is a very light, moderate yellow. Relative luminance 0.770; OKLCH L 91.4% C 0.086 H 100.7°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#EFE5A2
RGBrgb(239, 229, 162)
HSLhsl(52, 71%, 79%)
HSVhsv(52, 32%, 94%)
CMYKcmyk(0%, 4.2%, 32.2%, 6.3%)
CIE-LABlab(90.32, -6.45, 33.96)
CIE-LCHlch(90.32, 34.57, 100.76°)
OKLaboklab(91.43% -0.016 0.0846)
OKLCHoklch(91.43% 0.086 100.7)
XYZxyz(70.1382, 76.9996, 45.3431)
Luminance0.7700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE5A2 #A2ACEF
analogous
#EFBEA2 #EFE5A2 #D2EFA2
triadic
#EFE5A2 #A2EFE5 #E5A2EF
tetradic
#EFE5A2 #A2EFBE #A2ACEF #EFA2D2
square
#EFE5A2 #A2EFBE #A2ACEF #EFA2D2
split-complementary
#EFE5A2 #A2D2EF #BEA2EF
monochromatic
#DDC83A #E6D66E #EFE5A2 #F8F4D6 #FBF8E5

Accessibility & contrast

On white

1.28
#EFE5A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.40
#EFE5A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE5A2
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE5A2#FFFFFF#000000##000000
##EFE5A21.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1E19D
Deuteranopia (green-blind)
#F5E5A4
Tritanopia (blue-blind)
#FADCD4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #efe5a2;
/* rgb */ color: rgb(239, 229, 162);
/* oklch */ color: oklch(91.4% 0.086 100.7);
Tailwind
colors: {
  custom: {
    50: '#f5edbe',
    500: '#efe5a2',
    950: '#000000',
  },
}
SCSS
$custom: #efe5a2;
$custom-light: #f5edbe;
$custom-dark: #000000;
JSON
{
  "hex": "#efe5a2",
  "rgb": {
    "r": 239,
    "g": 229,
    "b": 162
  },
  "hsl": {
    "h": 52.208,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.91432,
    "c": 0.08609,
    "h": 100.7
  },
  "luminance": 0.76998
}

Semantic roles & 50–950 ramp

primary
#EFE5A2
secondary
#6976CC
accent
#2CD313
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171612
muted
#858482

Preview Lab

Preview with #EFE5A2

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

Preview Lab → · Contrast checker → · Palette generator →

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