#EFEB97#EFEB97

#EFEB97 is a very light, moderate yellow. Relative luminance 0.800; OKLCH L 92.5% C 0.105 H 105.9°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#EFEB97
RGBrgb(239, 235, 151)
HSLhsl(57, 73%, 76%)
HSVhsv(57, 37%, 94%)
CMYKcmyk(0%, 1.7%, 36.8%, 6.3%)
CIE-LABlab(91.69, -10.72, 41.27)
CIE-LCHlch(91.69, 42.64, 104.57°)
OKLaboklab(92.46% -0.0289 0.1012)
OKLCHoklch(92.46% 0.105 105.9)
XYZxyz(70.8918, 80.0033, 40.9799)
Luminance0.8000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEB97 #979BEF
analogous
#EFBF97 #EFEB97 #C7EF97
triadic
#EFEB97 #97EFEB #EB97EF
tetradic
#EFEB97 #97EFBF #979BEF #EF97C7
square
#EFEB97 #97EFBF #979BEF #EF97C7
split-complementary
#EFEB97 #97C7EF #BF97EF
monochromatic
#DFD72D #E7E162 #EFEB97 #F7F5CC #FBFAE4

Accessibility & contrast

On white

1.24
#EFEB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#EFEB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEB97
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEB97#FFFFFF#000000##000000
##EFEB971.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E591
Deuteranopia (green-blind)
#FBE99A
Tritanopia (blue-blind)
#FBE1D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #efeb97;
/* rgb */ color: rgb(239, 235, 151);
/* oklch */ color: oklch(92.5% 0.105 105.9);
Tailwind
colors: {
  custom: {
    50: '#f5f1b6',
    500: '#efeb97',
    950: '#000000',
  },
}
SCSS
$custom: #efeb97;
$custom-light: #f5f1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#efeb97",
  "rgb": {
    "r": 239,
    "g": 235,
    "b": 151
  },
  "hsl": {
    "h": 57.273,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92458,
    "c": 0.10526,
    "h": 105.9
  },
  "luminance": 0.80002
}

Semantic roles & 50–950 ramp

primary
#EFEB97
secondary
#5F64CB
accent
#19D510
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EFEB97

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

Preview Lab → · Contrast checker → · Palette generator →

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