#EBC474#EBC474

#EBC474 is a very light, moderate orange. Relative luminance 0.584; OKLCH L 83.7% C 0.108 H 84.1°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#EBC474
RGBrgb(235, 196, 116)
HSLhsl(40, 75%, 69%)
HSVhsv(40, 51%, 92%)
CMYKcmyk(0%, 16.6%, 50.6%, 7.8%)
CIE-LABlab(80.96, 4.08, 45.07)
CIE-LCHlch(80.96, 45.25, 84.82°)
OKLaboklab(83.75% 0.0111 0.1078)
OKLCHoklch(83.75% 0.108 84.1)
XYZxyz(57.1555, 58.4060, 24.7826)
Luminance0.5840 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC474 #749BEB
analogous
#EB8974 #EBC474 #D7EB74
triadic
#EBC474 #74EBC4 #C474EB
tetradic
#EBC474 #74EB89 #749BEB #EB74D7
square
#EBC474 #74EB89 #749BEB #EB74D7
split-complementary
#EBC474 #74D7EB #8974EB
monochromatic
#C8901D #E3AD3E #EBC474 #F3DBAA #FAF1DF

Accessibility & contrast

On white

1.66
#EBC474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#EBC474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC474
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC474#FFFFFF#000000##000000
##EBC4741.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36D
Deuteranopia (green-blind)
#DFCD77
Tritanopia (blue-blind)
#FCB7B1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ebc474;
/* rgb */ color: rgb(235, 196, 116);
/* oklch */ color: oklch(83.7% 0.108 84.1);
Tailwind
colors: {
  custom: {
    50: '#f4d59d',
    500: '#ebc474',
    950: '#000000',
  },
}
SCSS
$custom: #ebc474;
$custom-light: #f4d59d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc474",
  "rgb": {
    "r": 235,
    "g": 196,
    "b": 116
  },
  "hsl": {
    "h": 40.336,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83746,
    "c": 0.10841,
    "h": 84.1
  },
  "luminance": 0.58403
}

Semantic roles & 50–950 ramp

primary
#EBC474
secondary
#406BC3
accent
#50D70F
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #EBC474

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

Preview Lab → · Contrast checker → · Palette generator →

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