#EFD37C#EFD37C

#EFD37C is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 87.2% C 0.111 H 92.1°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#EFD37C
RGBrgb(239, 211, 124)
HSLhsl(45, 78%, 71%)
HSVhsv(45, 48%, 94%)
CMYKcmyk(0%, 11.7%, 48.1%, 6.3%)
CIE-LABlab(85.20, -1.33, 46.41)
CIE-LCHlch(85.20, 46.43, 91.65°)
OKLaboklab(87.2% -0.0041 0.1114)
OKLCHoklch(87.2% 0.111 92.1)
XYZxyz(62.5310, 66.3972, 28.5870)
Luminance0.6639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD37C #7C98EF
analogous
#EF997C #EFD37C #D1EF7C
triadic
#EFD37C #7CEFD3 #D37CEF
tetradic
#EFD37C #7CEF99 #7C98EF #EF7CD1
square
#EFD37C #7CEF99 #7C98EF #EF7CD1
split-complementary
#EFD37C #7CD1EF #997CEF
monochromatic
#D6A91A #E8C145 #EFD37C #F6E5B3 #FCF6E4

Accessibility & contrast

On white

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

On black

14.28
#EFD37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD37C
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD37C#FFFFFF#000000##000000
##EFD37C1.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D075
Deuteranopia (green-blind)
#EBD87F
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #efd37c;
/* rgb */ color: rgb(239, 211, 124);
/* oklch */ color: oklch(87.2% 0.111 92.1);
Tailwind
colors: {
  custom: {
    50: '#f6e0a3',
    500: '#efd37c',
    950: '#000000',
  },
}
SCSS
$custom: #efd37c;
$custom-light: #f6e0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#efd37c",
  "rgb": {
    "r": 239,
    "g": 211,
    "b": 124
  },
  "hsl": {
    "h": 45.391,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.87201,
    "c": 0.11144,
    "h": 92.1
  },
  "luminance": 0.66394
}

Semantic roles & 50–950 ramp

primary
#EFD37C
secondary
#4666C9
accent
#3EDA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD37C

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

Preview Lab → · Contrast checker → · Palette generator →

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