#EFE997#EFE997

#EFE997 is a very light, moderate yellow. Relative luminance 0.789; OKLCH L 92.0% C 0.103 H 104.6°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#EFE997
RGBrgb(239, 233, 151)
HSLhsl(56, 73%, 76%)
HSVhsv(56, 37%, 94%)
CMYKcmyk(0%, 2.5%, 36.8%, 6.3%)
CIE-LABlab(91.17, -9.73, 40.60)
CIE-LCHlch(91.17, 41.75, 103.47°)
OKLaboklab(92.05% -0.026 0.0997)
OKLCHoklch(92.05% 0.103 104.6)
XYZxyz(70.3224, 78.8645, 40.7901)
Luminance0.7886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE997 #979DEF
analogous
#EFBD97 #EFE997 #C9EF97
triadic
#EFE997 #97EFE9 #E997EF
tetradic
#EFE997 #97EFBD #979DEF #EF97C9
square
#EFE997 #97EFBD #979DEF #EF97C9
split-complementary
#EFE997 #97C9EF #BD97EF
monochromatic
#DFD32D #E7DE62 #EFE997 #F7F4CC #FBF9E4

Accessibility & contrast

On white

1.25
#EFE997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.77
#EFE997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE997
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE997#FFFFFF#000000##000000
##EFE9971.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E391
Deuteranopia (green-blind)
#F9E89A
Tritanopia (blue-blind)
#FBDFD4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #efe997;
/* rgb */ color: rgb(239, 233, 151);
/* oklch */ color: oklch(92.0% 0.103 104.6);
Tailwind
colors: {
  custom: {
    50: '#f5efb6',
    500: '#efe997',
    950: '#000000',
  },
}
SCSS
$custom: #efe997;
$custom-light: #f5efb6;
$custom-dark: #000000;
JSON
{
  "hex": "#efe997",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 151
  },
  "hsl": {
    "h": 55.909,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.9205,
    "c": 0.10303,
    "h": 104.6
  },
  "luminance": 0.78863
}

Semantic roles & 50–950 ramp

primary
#EFE997
secondary
#5F66CB
accent
#1ED510
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EFE997

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

Preview Lab → · Contrast checker → · Palette generator →

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