#EFE97F#EFE97F

#EFE97F is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.7% C 0.129 H 105.8°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#EFE97F
RGBrgb(239, 233, 127)
HSLhsl(57, 78%, 72%)
HSVhsv(57, 47%, 94%)
CMYKcmyk(0%, 2.5%, 46.9%, 6.3%)
CIE-LABlab(90.85, -12.15, 51.89)
CIE-LCHlch(90.85, 53.29, 103.17°)
OKLaboklab(91.69% -0.035 0.1237)
OKLCHoklch(91.69% 0.129 105.8)
XYZxyz(68.5679, 78.1627, 31.5495)
Luminance0.7816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE97F #7F85EF
analogous
#EFB17F #EFE97F #BDEF7F
triadic
#EFE97F #7FEFE9 #E97FEF
tetradic
#EFE97F #7FEFB1 #7F85EF #EF7FBD
square
#EFE97F #7FEFB1 #7F85EF #EF7FBD
split-complementary
#EFE97F #7FBDEF #B17FEF
monochromatic
#D9CE1B #E8E049 #EFE97F #F6F2B5 #FCFAE4

Accessibility & contrast

On white

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

On black

16.63
#EFE97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE97F
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE97F#FFFFFF#000000##000000
##EFE97F1.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E276
Deuteranopia (green-blind)
#FCE784
Tritanopia (blue-blind)
#FDDDD0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe97f;
/* rgb */ color: rgb(239, 233, 127);
/* oklch */ color: oklch(91.7% 0.129 105.8);
Tailwind
colors: {
  custom: {
    50: '#f6efa6',
    500: '#efe97f',
    950: '#000000',
  },
}
SCSS
$custom: #efe97f;
$custom-light: #f6efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#efe97f",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 56.786,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91693,
    "c": 0.12856,
    "h": 105.8
  },
  "luminance": 0.78161
}

Semantic roles & 50–950 ramp

primary
#EFE97F
secondary
#4950C9
accent
#17DA0B
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EFE97F

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

Preview Lab → · Contrast checker → · Palette generator →

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