#EFD374#EFD374

#EFD374 is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 87.1% C 0.119 H 93.3°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#EFD374
RGBrgb(239, 211, 116)
HSLhsl(46, 79%, 70%)
HSVhsv(46, 51%, 94%)
CMYKcmyk(0%, 11.7%, 51.5%, 6.3%)
CIE-LABlab(85.10, -2.04, 50.18)
CIE-LCHlch(85.10, 50.22, 92.32°)
OKLaboklab(87.09% -0.007 0.1191)
OKLCHoklch(87.09% 0.119 93.3)
XYZxyz(62.0455, 66.2029, 26.0299)
Luminance0.6620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD374 #7490EF
analogous
#EF9574 #EFD374 #CEEF74
triadic
#EFD374 #74EFD3 #D374EF
tetradic
#EFD374 #74EF95 #7490EF #EF74CE
square
#EFD374 #74EF95 #7490EF #EF74CE
split-complementary
#EFD374 #74CEEF #9574EF
monochromatic
#D1A718 #E9C23D #EFD374 #F5E4AB #FCF6E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFD374#FFFFFF#000000##000000
##EFD3741.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)
#E5D06C
Deuteranopia (green-blind)
#ECD878
Tritanopia (blue-blind)
#FFC6BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #efd374;
/* rgb */ color: rgb(239, 211, 116);
/* oklch */ color: oklch(87.1% 0.119 93.3);
Tailwind
colors: {
  custom: {
    50: '#f7e09e',
    500: '#efd374',
    950: '#000000',
  },
}
SCSS
$custom: #efd374;
$custom-light: #f7e09e;
$custom-dark: #000000;
JSON
{
  "hex": "#efd374",
  "rgb": {
    "r": 239,
    "g": 211,
    "b": 116
  },
  "hsl": {
    "h": 46.341,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87091,
    "c": 0.11928,
    "h": 93.3
  },
  "luminance": 0.662
}

Semantic roles & 50–950 ramp

primary
#EFD374
secondary
#3F5EC8
accent
#3ADC0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EFD374

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

Preview Lab → · Contrast checker → · Palette generator →

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