#EFE97B#EFE97B

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

Color values

HEX#EFE97B
RGBrgb(239, 233, 123)
HSLhsl(57, 78%, 71%)
HSVhsv(57, 49%, 94%)
CMYKcmyk(0%, 2.5%, 48.5%, 6.3%)
CIE-LABlab(90.81, -12.50, 53.72)
CIE-LCHlch(90.81, 55.15, 103.10°)
OKLaboklab(91.64% -0.0364 0.1274)
OKLCHoklch(91.64% 0.133 105.9)
XYZxyz(68.3124, 78.0605, 30.2037)
Luminance0.7806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE97B #7B81EF
analogous
#EFAF7B #EFE97B #BBEF7B
triadic
#EFE97B #7BEFE9 #E97BEF
tetradic
#EFE97B #7BEFAF #7B81EF #EF7BBB
square
#EFE97B #7BEFAF #7B81EF #EF7BBB
split-complementary
#EFE97B #7BBBEF #AF7BEF
monochromatic
#D6CC1A #E8E044 #EFE97B #F6F2B2 #FCFAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFE97B#FFFFFF#000000##000000
##EFE97B1.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)
#F9E271
Deuteranopia (green-blind)
#FCE780
Tritanopia (blue-blind)
#FDDDD0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe97b;
/* rgb */ color: rgb(239, 233, 123);
/* oklch */ color: oklch(91.6% 0.133 105.9);
Tailwind
colors: {
  custom: {
    50: '#f6efa3',
    500: '#efe97b',
    950: '#000000',
  },
}
SCSS
$custom: #efe97b;
$custom-light: #f6efa3;
$custom-dark: #000000;
JSON
{
  "hex": "#efe97b",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 56.897,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91641,
    "c": 0.13251,
    "h": 105.9
  },
  "luminance": 0.78059
}

Semantic roles & 50–950 ramp

primary
#EFE97B
secondary
#454CC9
accent
#16DB0B
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EFE97B

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

Preview Lab → · Contrast checker → · Palette generator →

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