#EBD474#EBD474

#EBD474 is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 86.9% C 0.119 H 96.2°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#EBD474
RGBrgb(235, 212, 116)
HSLhsl(48, 75%, 69%)
HSVhsv(48, 51%, 92%)
CMYKcmyk(0%, 9.8%, 50.6%, 7.8%)
CIE-LABlab(85.00, -4.17, 49.98)
CIE-LCHlch(85.00, 50.16, 94.76°)
OKLaboklab(86.93% -0.0129 0.1187)
OKLCHoklch(86.93% 0.119 96.2)
XYZxyz(60.9588, 66.0126, 26.0503)
Luminance0.6601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD474 #748BEB
analogous
#EB9974 #EBD474 #C7EB74
triadic
#EBD474 #74EBD4 #D474EB
tetradic
#EBD474 #74EB99 #748BEB #EB74C7
square
#EBD474 #74EB99 #748BEB #EB74C7
split-complementary
#EBD474 #74C7EB #9974EB
monochromatic
#C8A71D #E3C33E #EBD474 #F3E5AA #FAF5DF

Accessibility & contrast

On white

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

On black

14.20
#EBD474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD474
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD474#FFFFFF#000000##000000
##EBD4741.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06C
Deuteranopia (green-blind)
#EBD878
Tritanopia (blue-blind)
#FBC7BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd474;
/* rgb */ color: rgb(235, 212, 116);
/* oklch */ color: oklch(86.9% 0.119 96.2);
Tailwind
colors: {
  custom: {
    50: '#f4e19e',
    500: '#ebd474',
    950: '#000000',
  },
}
SCSS
$custom: #ebd474;
$custom-light: #f4e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd474",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 48.403,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86932,
    "c": 0.1194,
    "h": 96.2
  },
  "luminance": 0.6601
}

Semantic roles & 50–950 ramp

primary
#EBD474
secondary
#4059C3
accent
#35D70F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD474

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

Preview Lab → · Contrast checker → · Palette generator →

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