#EFD457#EFD457

#EFD457 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.0% C 0.145 H 97.0°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#EFD457
RGBrgb(239, 212, 87)
HSLhsl(49, 83%, 64%)
HSVhsv(49, 64%, 94%)
CMYKcmyk(0%, 11.3%, 63.6%, 6.3%)
CIE-LABlab(85.06, -4.65, 63.33)
CIE-LCHlch(85.06, 63.50, 94.20°)
OKLaboklab(86.97% -0.0178 0.1441)
OKLCHoklch(86.97% 0.145 97)
XYZxyz(60.8631, 66.1287, 18.5732)
Luminance0.6613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD457 #5772EF
analogous
#EF8857 #EFD457 #BEEF57
triadic
#EFD457 #57EFD4 #D457EF
tetradic
#EFD457 #57EF88 #5772EF #EF57BE
square
#EFD457 #57EF88 #5772EF #EF57BE
split-complementary
#EFD457 #57BEEF #8857EF
monochromatic
#BA9C12 #EAC61F #EFD457 #F4E28F #FAF1C7

Accessibility & contrast

On white

1.48
#EFD457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#EFD457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD457
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD457#FFFFFF#000000##000000
##EFD4571.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF48
Deuteranopia (green-blind)
#EFD85D
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #efd457;
/* rgb */ color: rgb(239, 212, 87);
/* oklch */ color: oklch(87.0% 0.145 97.0);
Tailwind
colors: {
  custom: {
    50: '#f8e08c',
    500: '#efd457',
    950: '#000000',
  },
}
SCSS
$custom: #efd457;
$custom-light: #f8e08c;
$custom-dark: #000000;
JSON
{
  "hex": "#efd457",
  "rgb": {
    "r": 239,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 49.342,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86968,
    "c": 0.14514,
    "h": 97
  },
  "luminance": 0.66126
}

Semantic roles & 50–950 ramp

primary
#EFD457
secondary
#3149B9
accent
#2DDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EFD457

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

Preview Lab → · Contrast checker → · Palette generator →

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