#EFCD31#EFCD31

#EFCD31 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.3% C 0.163 H 95.8°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#EFCD31
RGBrgb(239, 205, 49)
HSLhsl(49, 86%, 56%)
HSVhsv(49, 79%, 94%)
CMYKcmyk(0%, 14.2%, 79.5%, 6.3%)
CIE-LABlab(83.04, -2.83, 75.23)
CIE-LCHlch(83.04, 75.29, 92.16°)
OKLaboklab(85.29% -0.0165 0.1626)
OKLCHoklch(85.29% 0.163 95.8)
XYZxyz(57.9855, 62.2384, 11.8641)
Luminance0.6223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFCD31 #3153EF
analogous
#EF6E31 #EFCD31 #B2EF31
triadic
#EFCD31 #31EFCD #CD31EF
tetradic
#EFCD31 #31EF6E #3153EF #EF31B2
square
#EFCD31 #31EF6E #3153EF #EF31B2
split-complementary
#EFCD31 #31B2EF #6E31EF
monochromatic
#9A800C #D2B010 #EFCD31 #F3DB6A #F8E9A3

Accessibility & contrast

On white

1.56
#EFCD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#EFCD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFCD31
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFCD31#FFFFFF#000000##000000
##EFCD311.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C900
Deuteranopia (green-blind)
#ECD33C
Tritanopia (blue-blind)
#FFBCB0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #efcd31;
/* rgb */ color: rgb(239, 205, 49);
/* oklch */ color: oklch(85.3% 0.163 95.8);
Tailwind
colors: {
  custom: {
    50: '#f9db77',
    500: '#efcd31',
    950: '#000000',
  },
}
SCSS
$custom: #efcd31;
$custom-light: #f9db77;
$custom-dark: #000000;
JSON
{
  "hex": "#efcd31",
  "rgb": {
    "r": 239,
    "g": 205,
    "b": 49
  },
  "hsl": {
    "h": 49.263,
    "s": 85.586,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8529,
    "c": 0.16345,
    "h": 95.8
  },
  "luminance": 0.62235
}

Semantic roles & 50–950 ramp

primary
#EFCD31
secondary
#273C9D
accent
#51FC2C
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#18140A
muted
#86837D

Preview Lab

Preview with #EFCD31

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

Preview Lab → · Contrast checker → · Palette generator →

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