#EBC171#EBC171

#EBC171 is a very light, moderate orange. Relative luminance 0.570; OKLCH L 83.1% C 0.110 H 82.4°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#EBC171
RGBrgb(235, 193, 113)
HSLhsl(39, 75%, 68%)
HSVhsv(39, 52%, 92%)
CMYKcmyk(0%, 17.9%, 51.9%, 7.8%)
CIE-LABlab(80.18, 5.39, 45.59)
CIE-LCHlch(80.18, 45.91, 83.26°)
OKLaboklab(83.12% 0.0146 0.1088)
OKLCHoklch(83.12% 0.11 82.4)
XYZxyz(56.3139, 56.9974, 23.6550)
Luminance0.5699 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC171 #719BEB
analogous
#EB8471 #EBC171 #D8EB71
triadic
#EBC171 #71EBC1 #C171EB
tetradic
#EBC171 #71EB84 #719BEB #EB71D8
square
#EBC171 #71EB84 #719BEB #EB71D8
split-complementary
#EBC171 #71D8EB #8471EB
monochromatic
#C68B1C #E3AA3B #EBC171 #F3D8A7 #FAF0DC

Accessibility & contrast

On white

1.69
#EBC171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#EBC171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC171
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC171#FFFFFF#000000##000000
##EBC1711.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16A
Deuteranopia (green-blind)
#DDCB74
Tritanopia (blue-blind)
#FCB4AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ebc171;
/* rgb */ color: rgb(235, 193, 113);
/* oklch */ color: oklch(83.1% 0.110 82.4);
Tailwind
colors: {
  custom: {
    50: '#f4d39b',
    500: '#ebc171',
    950: '#000000',
  },
}
SCSS
$custom: #ebc171;
$custom-light: #f4d39b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc171",
  "rgb": {
    "r": 235,
    "g": 193,
    "b": 113
  },
  "hsl": {
    "h": 39.344,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83116,
    "c": 0.10974,
    "h": 82.4
  },
  "luminance": 0.56994
}

Semantic roles & 50–950 ramp

primary
#EBC171
secondary
#3D6BC3
accent
#53D70E
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #EBC171

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

Preview Lab → · Contrast checker → · Palette generator →

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