#EFE97A#EFE97A

#EFE97A is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.6% C 0.133 H 106.0°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#EFE97A
RGBrgb(239, 233, 122)
HSLhsl(57, 79%, 71%)
HSVhsv(57, 49%, 94%)
CMYKcmyk(0%, 2.5%, 49%, 6.3%)
CIE-LABlab(90.80, -12.59, 54.17)
CIE-LCHlch(90.80, 55.61, 103.08°)
OKLaboklab(91.63% -0.0367 0.1283)
OKLCHoklch(91.63% 0.133 106)
XYZxyz(68.2501, 78.0356, 29.8758)
Luminance0.7803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE97A #7A80EF
analogous
#EFAE7A #EFE97A #BAEF7A
triadic
#EFE97A #7AEFE9 #E97AEF
tetradic
#EFE97A #7AEFAE #7A80EF #EF7ABA
square
#EFE97A #7AEFAE #7A80EF #EF7ABA
split-complementary
#EFE97A #7ABAEF #AE7AEF
monochromatic
#D5CB1A #E8E043 #EFE97A #F6F2B1 #FCFAE4

Accessibility & contrast

On white

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

On black

16.61
#EFE97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE97A
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE97A#FFFFFF#000000##000000
##EFE97A1.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E270
Deuteranopia (green-blind)
#FCE77F
Tritanopia (blue-blind)
#FDDDCF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe97a;
/* rgb */ color: rgb(239, 233, 122);
/* oklch */ color: oklch(91.6% 0.133 106.0);
Tailwind
colors: {
  custom: {
    50: '#f6efa3',
    500: '#efe97a',
    950: '#000000',
  },
}
SCSS
$custom: #efe97a;
$custom-light: #f6efa3;
$custom-dark: #000000;
JSON
{
  "hex": "#efe97a",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 56.923,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91629,
    "c": 0.13349,
    "h": 106
  },
  "luminance": 0.78034
}

Semantic roles & 50–950 ramp

primary
#EFE97A
secondary
#444BC9
accent
#15DB0B
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EFE97A

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

Preview Lab → · Contrast checker → · Palette generator →

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