#EFE98B#EFE98B

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

Color values

HEX#EFE98B
RGBrgb(239, 233, 139)
HSLhsl(56, 76%, 74%)
HSVhsv(56, 42%, 94%)
CMYKcmyk(0%, 2.5%, 41.8%, 6.3%)
CIE-LABlab(91.00, -11.00, 46.30)
CIE-LCHlch(91.00, 47.59, 103.36°)
OKLaboklab(91.86% -0.0306 0.1121)
OKLCHoklch(91.86% 0.116 105.3)
XYZxyz(69.3970, 78.4944, 35.9164)
Luminance0.7849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE98B #8B91EF
analogous
#EFB78B #EFE98B #C3EF8B
triadic
#EFE98B #8BEFE9 #E98BEF
tetradic
#EFE98B #8BEFB7 #8B91EF #EF8BC3
square
#EFE98B #8BEFB7 #8B91EF #EF8BC3
split-complementary
#EFE98B #8BC3EF #B78BEF
monochromatic
#E0D51F #E8DF55 #EFE98B #F6F3C1 #FBFAE4

Accessibility & contrast

On white

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

On black

16.70
#EFE98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE98B
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE98B#FFFFFF#000000##000000
##EFE98B1.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe98b;
/* rgb */ color: rgb(239, 233, 139);
/* oklch */ color: oklch(91.9% 0.116 105.3);
Tailwind
colors: {
  custom: {
    50: '#f6efae',
    500: '#efe98b',
    950: '#000000',
  },
}
SCSS
$custom: #efe98b;
$custom-light: #f6efae;
$custom-dark: #000000;
JSON
{
  "hex": "#efe98b",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 139
  },
  "hsl": {
    "h": 56.4,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91862,
    "c": 0.11617,
    "h": 105.3
  },
  "luminance": 0.78493
}

Semantic roles & 50–950 ramp

primary
#EFE98B
secondary
#545BCA
accent
#1AD80E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFE98B

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

Preview Lab → · Contrast checker → · Palette generator →

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