#EFD37F#EFD37F

#EFD37F is a very light, moderate yellow. Relative luminance 0.665; OKLCH L 87.2% C 0.108 H 91.6°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#EFD37F
RGBrgb(239, 211, 127)
HSLhsl(45, 78%, 72%)
HSVhsv(45, 47%, 94%)
CMYKcmyk(0%, 11.7%, 46.9%, 6.3%)
CIE-LABlab(85.24, -1.06, 44.98)
CIE-LCHlch(85.24, 45.00, 91.35°)
OKLaboklab(87.24% -0.003 0.1084)
OKLCHoklch(87.24% 0.108 91.6)
XYZxyz(62.7236, 66.4742, 29.6014)
Luminance0.6647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD37F #7F9BEF
analogous
#EF9B7F #EFD37F #D3EF7F
triadic
#EFD37F #7FEFD3 #D37FEF
tetradic
#EFD37F #7FEF9B #7F9BEF #EF7FD3
square
#EFD37F #7FEF9B #7F9BEF #EF7FD3
split-complementary
#EFD37F #7FD3EF #9B7FEF
monochromatic
#D9A91B #E8C049 #EFD37F #F6E6B5 #FCF6E4

Accessibility & contrast

On white

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

On black

14.29
#EFD37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD37F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD37F#FFFFFF#000000##000000
##EFD37F1.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D078
Deuteranopia (green-blind)
#EBD882
Tritanopia (blue-blind)
#FFC7BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #efd37f;
/* rgb */ color: rgb(239, 211, 127);
/* oklch */ color: oklch(87.2% 0.108 91.6);
Tailwind
colors: {
  custom: {
    50: '#f6e0a5',
    500: '#efd37f',
    950: '#000000',
  },
}
SCSS
$custom: #efd37f;
$custom-light: #f6e0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#efd37f",
  "rgb": {
    "r": 239,
    "g": 211,
    "b": 127
  },
  "hsl": {
    "h": 45,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.87245,
    "c": 0.10841,
    "h": 91.6
  },
  "luminance": 0.66472
}

Semantic roles & 50–950 ramp

primary
#EFD37F
secondary
#4969C9
accent
#3FDA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD37F

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

Preview Lab → · Contrast checker → · Palette generator →

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