#EBD472#EBD472

#EBD472 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.9% C 0.121 H 96.4°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#EBD472
RGBrgb(235, 212, 114)
HSLhsl(49, 75%, 68%)
HSVhsv(49, 51%, 92%)
CMYKcmyk(0%, 9.8%, 51.5%, 7.8%)
CIE-LABlab(84.98, -4.34, 50.91)
CIE-LCHlch(84.98, 51.10, 94.87°)
OKLaboklab(86.91% -0.0136 0.1206)
OKLCHoklch(86.91% 0.121 96.4)
XYZxyz(60.8438, 65.9665, 25.4442)
Luminance0.6596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD472 #7289EB
analogous
#EB9772 #EBD472 #C5EB72
triadic
#EBD472 #72EBD4 #D472EB
tetradic
#EBD472 #72EB97 #7289EB #EB72C5
square
#EBD472 #72EB97 #7289EB #EB72C5
split-complementary
#EBD472 #72C5EB #9772EB
monochromatic
#C6A61C #E3C43C #EBD472 #F3E4A8 #FAF5DD

Accessibility & contrast

On white

1.48
#EBD472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#EBD472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD472
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD472#FFFFFF#000000##000000
##EBD4721.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D069
Deuteranopia (green-blind)
#EBD876
Tritanopia (blue-blind)
#FBC7BD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd472;
/* rgb */ color: rgb(235, 212, 114);
/* oklch */ color: oklch(86.9% 0.121 96.4);
Tailwind
colors: {
  custom: {
    50: '#f4e19d',
    500: '#ebd472',
    950: '#000000',
  },
}
SCSS
$custom: #ebd472;
$custom-light: #f4e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd472",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 48.595,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86906,
    "c": 0.12133,
    "h": 96.4
  },
  "luminance": 0.65964
}

Semantic roles & 50–950 ramp

primary
#EBD472
secondary
#3E57C3
accent
#34D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD472

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

Preview Lab → · Contrast checker → · Palette generator →

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