#EFE97E#EFE97E

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

Color values

HEX#EFE97E
RGBrgb(239, 233, 126)
HSLhsl(57, 78%, 72%)
HSVhsv(57, 47%, 94%)
CMYKcmyk(0%, 2.5%, 47.3%, 6.3%)
CIE-LABlab(90.84, -12.24, 52.35)
CIE-LCHlch(90.84, 53.76, 103.16°)
OKLaboklab(91.68% -0.0353 0.1247)
OKLCHoklch(91.68% 0.13 105.8)
XYZxyz(68.5030, 78.1368, 31.2080)
Luminance0.7813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE97E #7E84EF
analogous
#EFB17E #EFE97E #BDEF7E
triadic
#EFE97E #7EEFE9 #E97EEF
tetradic
#EFE97E #7EEFB1 #7E84EF #EF7EBD
square
#EFE97E #7EEFB1 #7E84EF #EF7EBD
split-complementary
#EFE97E #7EBDEF #B17EEF
monochromatic
#D8CE1B #E8E048 #EFE97E #F6F2B4 #FCFAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFE97E#FFFFFF#000000##000000
##EFE97E1.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)
#F9E275
Deuteranopia (green-blind)
#FCE783
Tritanopia (blue-blind)
#FDDDD0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe97e;
/* rgb */ color: rgb(239, 233, 126);
/* oklch */ color: oklch(91.7% 0.130 105.8);
Tailwind
colors: {
  custom: {
    50: '#f6efa5',
    500: '#efe97e',
    950: '#000000',
  },
}
SCSS
$custom: #efe97e;
$custom-light: #f6efa5;
$custom-dark: #000000;
JSON
{
  "hex": "#efe97e",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 56.814,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.9168,
    "c": 0.12956,
    "h": 105.8
  },
  "luminance": 0.78135
}

Semantic roles & 50–950 ramp

primary
#EFE97E
secondary
#484FC9
accent
#16DA0B
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EFE97E

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

Preview Lab → · Contrast checker → · Palette generator →

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