#EFD754#EFD754

#EFD754 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.5% C 0.150 H 98.8°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#EFD754
RGBrgb(239, 215, 84)
HSLhsl(51, 83%, 63%)
HSVhsv(51, 65%, 94%)
CMYKcmyk(0%, 10%, 64.9%, 6.3%)
CIE-LABlab(85.80, -6.34, 65.37)
CIE-LCHlch(85.80, 65.67, 95.54°)
OKLaboklab(87.55% -0.023 0.1479)
OKLCHoklch(87.55% 0.15 98.8)
XYZxyz(61.5000, 67.5945, 18.1934)
Luminance0.6759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD754 #546CEF
analogous
#EF8954 #EFD754 #B9EF54
triadic
#EFD754 #54EFD7 #D754EF
tetradic
#EFD754 #54EF89 #546CEF #EF54B9
square
#EFD754 #54EF89 #546CEF #EF54B9
split-complementary
#EFD754 #54B9EF #8954EF
monochromatic
#B79E11 #EACA1C #EFD754 #F4E48C #F9F1C4

Accessibility & contrast

On white

1.45
#EFD754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#EFD754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD754
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD754#FFFFFF#000000##000000
##EFD7541.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD244
Deuteranopia (green-blind)
#F1DA5B
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #efd754;
/* rgb */ color: rgb(239, 215, 84);
/* oklch */ color: oklch(87.5% 0.150 98.8);
Tailwind
colors: {
  custom: {
    50: '#f8e38a',
    500: '#efd754',
    950: '#000000',
  },
}
SCSS
$custom: #efd754;
$custom-light: #f8e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#efd754",
  "rgb": {
    "r": 239,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 50.71,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87547,
    "c": 0.14971,
    "h": 98.8
  },
  "luminance": 0.67592
}

Semantic roles & 50–950 ramp

primary
#EFD754
secondary
#3145B7
accent
#28DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EFD754

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

Preview Lab → · Contrast checker → · Palette generator →

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