#EFE98C#EFE98C

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

Color values

HEX#EFE98C
RGBrgb(239, 233, 140)
HSLhsl(56, 76%, 74%)
HSVhsv(56, 41%, 94%)
CMYKcmyk(0%, 2.5%, 41.4%, 6.3%)
CIE-LABlab(91.02, -10.89, 45.83)
CIE-LCHlch(91.02, 47.11, 103.37°)
OKLaboklab(91.88% -0.0302 0.1111)
OKLCHoklch(91.88% 0.115 105.2)
XYZxyz(69.4704, 78.5237, 36.3029)
Luminance0.7852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE98C #8C92EF
analogous
#EFB88C #EFE98C #C4EF8C
triadic
#EFE98C #8CEFE9 #E98CEF
tetradic
#EFE98C #8CEFB8 #8C92EF #EF8CC4
square
#EFE98C #8CEFB8 #8C92EF #EF8CC4
split-complementary
#EFE98C #8CC4EF #B88CEF
monochromatic
#E0D421 #E8DF56 #EFE98C #F6F3C2 #FBFAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFE98C#FFFFFF#000000##000000
##EFE98C1.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)
#F8E385
Deuteranopia (green-blind)
#FAE790
Tritanopia (blue-blind)
#FCDED2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe98c;
/* rgb */ color: rgb(239, 233, 140);
/* oklch */ color: oklch(91.9% 0.115 105.2);
Tailwind
colors: {
  custom: {
    50: '#f6efaf',
    500: '#efe98c',
    950: '#000000',
  },
}
SCSS
$custom: #efe98c;
$custom-light: #f6efaf;
$custom-dark: #000000;
JSON
{
  "hex": "#efe98c",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 140
  },
  "hsl": {
    "h": 56.364,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91877,
    "c": 0.1151,
    "h": 105.2
  },
  "luminance": 0.78522
}

Semantic roles & 50–950 ramp

primary
#EFE98C
secondary
#555CCB
accent
#1AD80E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFE98C

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

Preview Lab → · Contrast checker → · Palette generator →

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