#EFE297#EFE297

#EFE297 is a very light, moderate yellow. Relative luminance 0.750; OKLCH L 90.6% C 0.096 H 99.6°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#EFE297
RGBrgb(239, 226, 151)
HSLhsl(51, 73%, 76%)
HSVhsv(51, 37%, 94%)
CMYKcmyk(0%, 5.4%, 36.8%, 6.3%)
CIE-LABlab(89.38, -6.22, 38.29)
CIE-LCHlch(89.38, 38.79, 99.22°)
OKLaboklab(90.63% -0.0159 0.0943)
OKLCHoklch(90.63% 0.096 99.6)
XYZxyz(68.3800, 74.9797, 40.1426)
Luminance0.7498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE297 #97A4EF
analogous
#EFB697 #EFE297 #D0EF97
triadic
#EFE297 #97EFE2 #E297EF
tetradic
#EFE297 #97EFB6 #97A4EF #EF97D0
square
#EFE297 #97EFB6 #97A4EF #EF97D0
split-complementary
#EFE297 #97D0EF #B697EF
monochromatic
#DFC42D #E7D362 #EFE297 #F7F1CC #FBF8E4

Accessibility & contrast

On white

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

On black

16.00
#EFE297 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE297
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE297#FFFFFF#000000##000000
##EFE2971.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE92
Deuteranopia (green-blind)
#F4E39A
Tritanopia (blue-blind)
#FCD8CF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #efe297;
/* rgb */ color: rgb(239, 226, 151);
/* oklch */ color: oklch(90.6% 0.096 99.6);
Tailwind
colors: {
  custom: {
    50: '#f5ebb6',
    500: '#efe297',
    950: '#000000',
  },
}
SCSS
$custom: #efe297;
$custom-light: #f5ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#efe297",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 151
  },
  "hsl": {
    "h": 51.136,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.90633,
    "c": 0.09568,
    "h": 99.6
  },
  "luminance": 0.74978
}

Semantic roles & 50–950 ramp

primary
#EFE297
secondary
#5F6FCB
accent
#2DD510
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EFE297

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

Preview Lab → · Contrast checker → · Palette generator →

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