#EFD966#EFD966

#EFD966 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.1% C 0.137 H 98.6°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#EFD966
RGBrgb(239, 217, 102)
HSLhsl(50, 81%, 67%)
HSVhsv(50, 57%, 94%)
CMYKcmyk(0%, 9.2%, 57.3%, 6.3%)
CIE-LABlab(86.47, -6.18, 58.32)
CIE-LCHlch(86.47, 58.65, 96.05°)
OKLaboklab(88.13% -0.0205 0.1353)
OKLCHoklch(88.13% 0.137 98.6)
XYZxyz(62.8101, 68.9384, 22.5657)
Luminance0.6894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD966 #667CEF
analogous
#EF9566 #EFD966 #C1EF66
triadic
#EFD966 #66EFD9 #D966EF
tetradic
#EFD966 #66EF95 #667CEF #EF66C1
square
#EFD966 #66EF95 #667CEF #EF66C1
split-complementary
#EFD966 #66C1EF #9566EF
monochromatic
#C6A915 #E9CB2F #EFD966 #F5E79D #FBF5D5

Accessibility & contrast

On white

1.42
#EFD966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#EFD966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD966
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD966#FFFFFF#000000##000000
##EFD9661.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD45A
Deuteranopia (green-blind)
#F2DC6B
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd966;
/* rgb */ color: rgb(239, 217, 102);
/* oklch */ color: oklch(88.1% 0.137 98.6);
Tailwind
colors: {
  custom: {
    50: '#f7e495',
    500: '#efd966',
    950: '#000000',
  },
}
SCSS
$custom: #efd966;
$custom-light: #f7e495;
$custom-dark: #000000;
JSON
{
  "hex": "#efd966",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 102
  },
  "hsl": {
    "h": 50.365,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.88129,
    "c": 0.13688,
    "h": 98.6
  },
  "luminance": 0.68936
}

Semantic roles & 50–950 ramp

primary
#EFD966
secondary
#364DC3
accent
#2ADD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD966

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

Preview Lab → · Contrast checker → · Palette generator →

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