#EFE97C#EFE97C

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

Color values

HEX#EFE97C
RGBrgb(239, 233, 124)
HSLhsl(57, 78%, 71%)
HSVhsv(57, 48%, 94%)
CMYKcmyk(0%, 2.5%, 48.1%, 6.3%)
CIE-LABlab(90.82, -12.41, 53.26)
CIE-LCHlch(90.82, 54.69, 103.12°)
OKLaboklab(91.65% -0.036 0.1265)
OKLCHoklch(91.65% 0.132 105.9)
XYZxyz(68.3753, 78.0857, 30.5351)
Luminance0.7808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE97C #7C82EF
analogous
#EFAF7C #EFE97C #BBEF7C
triadic
#EFE97C #7CEFE9 #E97CEF
tetradic
#EFE97C #7CEFAF #7C82EF #EF7CBB
square
#EFE97C #7CEFAF #7C82EF #EF7CBB
split-complementary
#EFE97C #7CBBEF #AF7CEF
monochromatic
#D6CD1A #E8E045 #EFE97C #F6F2B3 #FCFAE4

Accessibility & contrast

On white

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

On black

16.62
#EFE97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE97C
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE97C#FFFFFF#000000##000000
##EFE97C1.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe97c;
/* rgb */ color: rgb(239, 233, 124);
/* oklch */ color: oklch(91.7% 0.132 105.9);
Tailwind
colors: {
  custom: {
    50: '#f6efa4',
    500: '#efe97c',
    950: '#000000',
  },
}
SCSS
$custom: #efe97c;
$custom-light: #f6efa4;
$custom-dark: #000000;
JSON
{
  "hex": "#efe97c",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 124
  },
  "hsl": {
    "h": 56.87,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91654,
    "c": 0.13153,
    "h": 105.9
  },
  "luminance": 0.78084
}

Semantic roles & 50–950 ramp

primary
#EFE97C
secondary
#464DC9
accent
#16DA0B
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EFE97C

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

Preview Lab → · Contrast checker → · Palette generator →

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