#EFD45B#EFD45B

#EFD45B is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 87.0% C 0.142 H 96.7°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#EFD45B
RGBrgb(239, 212, 91)
HSLhsl(49, 82%, 65%)
HSVhsv(49, 62%, 94%)
CMYKcmyk(0%, 11.3%, 61.9%, 6.3%)
CIE-LABlab(85.10, -4.40, 61.65)
CIE-LCHlch(85.10, 61.81, 94.08°)
OKLaboklab(87.01% -0.0166 0.1411)
OKLCHoklch(87.01% 0.142 96.7)
XYZxyz(61.0311, 66.1959, 19.4579)
Luminance0.6619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD45B #5B76EF
analogous
#EF8A5B #EFD45B #C0EF5B
triadic
#EFD45B #5BEFD4 #D45BEF
tetradic
#EFD45B #5BEF8A #5B76EF #EF5BC0
square
#EFD45B #5BEF8A #5B76EF #EF5BC0
split-complementary
#EFD45B #5BC0EF #8A5BEF
monochromatic
#BD9E12 #EAC523 #EFD45B #F4E393 #FAF1CB

Accessibility & contrast

On white

1.47
#EFD45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#EFD45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD45B
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD45B#FFFFFF#000000##000000
##EFD45B1.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4D
Deuteranopia (green-blind)
#EFD861
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #efd45b;
/* rgb */ color: rgb(239, 212, 91);
/* oklch */ color: oklch(87.0% 0.142 96.7);
Tailwind
colors: {
  custom: {
    50: '#f8e08e',
    500: '#efd45b',
    950: '#000000',
  },
}
SCSS
$custom: #efd45b;
$custom-light: #f8e08e;
$custom-dark: #000000;
JSON
{
  "hex": "#efd45b",
  "rgb": {
    "r": 239,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 49.054,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87006,
    "c": 0.14204,
    "h": 96.7
  },
  "luminance": 0.66193
}

Semantic roles & 50–950 ramp

primary
#EFD45B
secondary
#334CBC
accent
#2EDF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD45B

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

Preview Lab → · Contrast checker → · Palette generator →

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