#EBD47F#EBD47F

#EBD47F is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.108 H 94.7°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#EBD47F
RGBrgb(235, 212, 127)
HSLhsl(47, 73%, 71%)
HSVhsv(47, 46%, 92%)
CMYKcmyk(0%, 9.8%, 46%, 7.8%)
CIE-LABlab(85.14, -3.17, 44.79)
CIE-LCHlch(85.14, 44.90, 94.05°)
OKLaboklab(87.09% -0.0089 0.108)
OKLCHoklch(87.09% 0.108 94.7)
XYZxyz(61.6370, 66.2838, 29.6219)
Luminance0.6628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD47F #7F96EB
analogous
#EB9E7F #EBD47F #CCEB7F
triadic
#EBD47F #7FEBD4 #D47FEB
tetradic
#EBD47F #7FEB9E #7F96EB #EB7FCC
square
#EBD47F #7FEB9E #7F96EB #EB7FCC
split-complementary
#EBD47F #7FCCEB #9E7FEB
monochromatic
#CFAA20 #E3C24A #EBD47F #F3E6B4 #FBF6E5

Accessibility & contrast

On white

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

On black

14.26
#EBD47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD47F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD47F#FFFFFF#000000##000000
##EBD47F1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebd47f;
/* rgb */ color: rgb(235, 212, 127);
/* oklch */ color: oklch(87.1% 0.108 94.7);
Tailwind
colors: {
  custom: {
    50: '#f3e1a5',
    500: '#ebd47f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd47f;
$custom-light: #f3e1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd47f",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 127
  },
  "hsl": {
    "h": 47.222,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.87086,
    "c": 0.10835,
    "h": 94.7
  },
  "luminance": 0.66281
}

Semantic roles & 50–950 ramp

primary
#EBD47F
secondary
#4A64C4
accent
#3AD510
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD47F

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

Preview Lab → · Contrast checker → · Palette generator →

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