#EFD968#EFD968

#EFD968 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.2% C 0.135 H 98.4°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#EFD968
RGBrgb(239, 217, 104)
HSLhsl(50, 81%, 67%)
HSVhsv(50, 56%, 94%)
CMYKcmyk(0%, 9.2%, 56.5%, 6.3%)
CIE-LABlab(86.49, -6.04, 57.44)
CIE-LCHlch(86.49, 57.76, 96.00°)
OKLaboklab(88.15% -0.0198 0.1337)
OKLCHoklch(88.15% 0.135 98.4)
XYZxyz(62.9105, 68.9785, 23.0944)
Luminance0.6898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD968 #687EEF
analogous
#EF9568 #EFD968 #C2EF68
triadic
#EFD968 #68EFD9 #D968EF
tetradic
#EFD968 #68EF95 #687EEF #EF68C2
square
#EFD968 #68EF95 #687EEF #EF68C2
split-complementary
#EFD968 #68C2EF #9568EF
monochromatic
#C7AA15 #E9CB31 #EFD968 #F5E79F #FBF5D7

Accessibility & contrast

On white

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

On black

14.80
#EFD968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD968
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD968#FFFFFF#000000##000000
##EFD9681.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efd968;
/* rgb */ color: rgb(239, 217, 104);
/* oklch */ color: oklch(88.2% 0.135 98.4);
Tailwind
colors: {
  custom: {
    50: '#f7e496',
    500: '#efd968',
    950: '#000000',
  },
}
SCSS
$custom: #efd968;
$custom-light: #f7e496;
$custom-dark: #000000;
JSON
{
  "hex": "#efd968",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 50.222,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88151,
    "c": 0.13514,
    "h": 98.4
  },
  "luminance": 0.68976
}

Semantic roles & 50–950 ramp

primary
#EFD968
secondary
#374EC5
accent
#2BDD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #EFD968

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

Preview Lab → · Contrast checker → · Palette generator →

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