#EFD257#EFD257

#EFD257 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.6% C 0.144 H 95.9°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#EFD257
RGBrgb(239, 210, 87)
HSLhsl(49, 83%, 64%)
HSVhsv(49, 64%, 94%)
CMYKcmyk(0%, 12.1%, 63.6%, 6.3%)
CIE-LABlab(84.55, -3.63, 62.78)
CIE-LCHlch(84.55, 62.88, 93.31°)
OKLaboklab(86.57% -0.0149 0.1429)
OKLCHoklch(86.57% 0.144 95.9)
XYZxyz(60.3662, 65.1350, 18.4076)
Luminance0.6513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD257 #5774EF
analogous
#EF8657 #EFD257 #C0EF57
triadic
#EFD257 #57EFD2 #D257EF
tetradic
#EFD257 #57EF86 #5774EF #EF57C0
square
#EFD257 #57EF86 #5774EF #EF57C0
split-complementary
#EFD257 #57C0EF #8657EF
monochromatic
#BA9A12 #EAC31F #EFD257 #F4E18F #FAF0C7

Accessibility & contrast

On white

1.50
#EFD257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#EFD257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD257
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD257#FFFFFF#000000##000000
##EFD2571.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE49
Deuteranopia (green-blind)
#EDD75D
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #efd257;
/* rgb */ color: rgb(239, 210, 87);
/* oklch */ color: oklch(86.6% 0.144 95.9);
Tailwind
colors: {
  custom: {
    50: '#f8df8b',
    500: '#efd257',
    950: '#000000',
  },
}
SCSS
$custom: #efd257;
$custom-light: #f8df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#efd257",
  "rgb": {
    "r": 239,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 48.553,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86565,
    "c": 0.14366,
    "h": 95.9
  },
  "luminance": 0.65132
}

Semantic roles & 50–950 ramp

primary
#EFD257
secondary
#314BB9
accent
#30DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EFD257

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

Preview Lab → · Contrast checker → · Palette generator →

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