#EFE98F#EFE98F

#EFE98F is a very light, moderate yellow. Relative luminance 0.786; OKLCH L 91.9% C 0.112 H 105.1°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#EFE98F
RGBrgb(239, 233, 143)
HSLhsl(56, 75%, 75%)
HSVhsv(56, 40%, 94%)
CMYKcmyk(0%, 2.5%, 40.2%, 6.3%)
CIE-LABlab(91.06, -10.59, 44.41)
CIE-LCHlch(91.06, 45.66, 103.41°)
OKLaboklab(91.92% -0.0291 0.108)
OKLCHoklch(91.92% 0.112 105.1)
XYZxyz(69.6946, 78.6134, 37.4838)
Luminance0.7861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE98F #8F95EF
analogous
#EFB98F #EFE98F #C5EF8F
triadic
#EFE98F #8FEFE9 #E98FEF
tetradic
#EFE98F #8FEFB9 #8F95EF #EF8FC5
square
#EFE98F #8FEFB9 #8F95EF #EF8FC5
split-complementary
#EFE98F #8FC5EF #B98FEF
monochromatic
#E0D424 #E7DE59 #EFE98F #F7F4C5 #FBFAE4

Accessibility & contrast

On white

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

On black

16.72
#EFE98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE98F
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE98F#FFFFFF#000000##000000
##EFE98F1.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E388
Deuteranopia (green-blind)
#FAE793
Tritanopia (blue-blind)
#FCDED3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe98f;
/* rgb */ color: rgb(239, 233, 143);
/* oklch */ color: oklch(91.9% 0.112 105.1);
Tailwind
colors: {
  custom: {
    50: '#f6efb1',
    500: '#efe98f',
    950: '#000000',
  },
}
SCSS
$custom: #efe98f;
$custom-light: #f6efb1;
$custom-dark: #000000;
JSON
{
  "hex": "#efe98f",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 143
  },
  "hsl": {
    "h": 56.25,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91923,
    "c": 0.11187,
    "h": 105.1
  },
  "luminance": 0.78612
}

Semantic roles & 50–950 ramp

primary
#EFE98F
secondary
#575FCB
accent
#1BD70E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171611
muted
#858581

Preview Lab

Preview with #EFE98F

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

Preview Lab → · Contrast checker → · Palette generator →

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