#EFE98A#EFE98A

#EFE98A is a very light, moderate yellow. Relative luminance 0.785; OKLCH L 91.8% C 0.117 H 105.3°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#EFE98A
RGBrgb(239, 233, 138)
HSLhsl(56, 76%, 74%)
HSVhsv(56, 42%, 94%)
CMYKcmyk(0%, 2.5%, 42.3%, 6.3%)
CIE-LABlab(90.99, -11.10, 46.77)
CIE-LCHlch(90.99, 48.07, 103.35°)
OKLaboklab(91.85% -0.031 0.1131)
OKLCHoklch(91.85% 0.117 105.3)
XYZxyz(69.3243, 78.4653, 35.5333)
Luminance0.7846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE98A #8A90EF
analogous
#EFB78A #EFE98A #C3EF8A
triadic
#EFE98A #8AEFE9 #E98AEF
tetradic
#EFE98A #8AEFB7 #8A90EF #EF8AC3
square
#EFE98A #8AEFB7 #8A90EF #EF8AC3
split-complementary
#EFE98A #8AC3EF #B78AEF
monochromatic
#E0D41F #E8DF54 #EFE98A #F6F3C0 #FBFAE4

Accessibility & contrast

On white

1.26
#EFE98A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#EFE98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE98A
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE98A#FFFFFF#000000##000000
##EFE98A1.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E382
Deuteranopia (green-blind)
#FBE78E
Tritanopia (blue-blind)
#FCDED2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe98a;
/* rgb */ color: rgb(239, 233, 138);
/* oklch */ color: oklch(91.8% 0.117 105.3);
Tailwind
colors: {
  custom: {
    50: '#f6efad',
    500: '#efe98a',
    950: '#000000',
  },
}
SCSS
$custom: #efe98a;
$custom-light: #f6efad;
$custom-dark: #000000;
JSON
{
  "hex": "#efe98a",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 138
  },
  "hsl": {
    "h": 56.436,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91847,
    "c": 0.11723,
    "h": 105.3
  },
  "luminance": 0.78464
}

Semantic roles & 50–950 ramp

primary
#EFE98A
secondary
#535ACA
accent
#19D80D
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFE98A

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

Preview Lab → · Contrast checker → · Palette generator →

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