#EFE197#EFE197

#EFE197 is a very light, moderate yellow. Relative luminance 0.744; OKLCH L 90.4% C 0.095 H 98.8°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#EFE197
RGBrgb(239, 225, 151)
HSLhsl(50, 73%, 76%)
HSVhsv(50, 37%, 94%)
CMYKcmyk(0%, 5.9%, 36.8%, 6.3%)
CIE-LABlab(89.13, -5.71, 37.95)
CIE-LCHlch(89.13, 38.38, 98.56°)
OKLaboklab(90.43% -0.0145 0.0936)
OKLCHoklch(90.43% 0.095 98.8)
XYZxyz(68.1089, 74.4374, 40.0522)
Luminance0.7444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE197 #97A5EF
analogous
#EFB597 #EFE197 #D1EF97
triadic
#EFE197 #97EFE1 #E197EF
tetradic
#EFE197 #97EFB5 #97A5EF #EF97D1
square
#EFE197 #97EFB5 #97A5EF #EF97D1
split-complementary
#EFE197 #97D1EF #B597EF
monochromatic
#DFC22D #E7D262 #EFE197 #F7F0CC #FBF7E4

Accessibility & contrast

On white

1.32
#EFE197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#EFE197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE197
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE197#FFFFFF#000000##000000
##EFE1971.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDD92
Deuteranopia (green-blind)
#F3E29A
Tritanopia (blue-blind)
#FCD7CE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #efe197;
/* rgb */ color: rgb(239, 225, 151);
/* oklch */ color: oklch(90.4% 0.095 98.8);
Tailwind
colors: {
  custom: {
    50: '#f5eab6',
    500: '#efe197',
    950: '#000000',
  },
}
SCSS
$custom: #efe197;
$custom-light: #f5eab6;
$custom-dark: #000000;
JSON
{
  "hex": "#efe197",
  "rgb": {
    "r": 239,
    "g": 225,
    "b": 151
  },
  "hsl": {
    "h": 50.455,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.90431,
    "c": 0.09468,
    "h": 98.8
  },
  "luminance": 0.74436
}

Semantic roles & 50–950 ramp

primary
#EFE197
secondary
#5F70CB
accent
#2FD510
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EFE197

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

Preview Lab → · Contrast checker → · Palette generator →

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