#EBC172#EBC172

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

Color values

HEX#EBC172
RGBrgb(235, 193, 114)
HSLhsl(39, 75%, 68%)
HSVhsv(39, 51%, 92%)
CMYKcmyk(0%, 17.9%, 51.5%, 7.8%)
CIE-LABlab(80.19, 5.47, 45.11)
CIE-LCHlch(80.19, 45.44, 83.08°)
OKLaboklab(83.13% 0.015 0.1078)
OKLCHoklch(83.13% 0.109 82.1)
XYZxyz(56.3705, 57.0201, 23.9531)
Luminance0.5702 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC172 #729CEB
analogous
#EB8472 #EBC172 #D8EB72
triadic
#EBC172 #72EBC1 #C172EB
tetradic
#EBC172 #72EB84 #729CEB #EB72D8
square
#EBC172 #72EB84 #729CEB #EB72D8
split-complementary
#EBC172 #72D8EB #8472EB
monochromatic
#C68B1C #E3A93C #EBC172 #F3D9A8 #FAF0DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBC172#FFFFFF#000000##000000
##EBC1721.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)
#D3C16B
Deuteranopia (green-blind)
#DDCB74
Tritanopia (blue-blind)
#FCB4AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ebc172;
/* rgb */ color: rgb(235, 193, 114);
/* oklch */ color: oklch(83.1% 0.109 82.1);
Tailwind
colors: {
  custom: {
    50: '#f4d39c',
    500: '#ebc172',
    950: '#000000',
  },
}
SCSS
$custom: #ebc172;
$custom-light: #f4d39c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc172",
  "rgb": {
    "r": 235,
    "g": 193,
    "b": 114
  },
  "hsl": {
    "h": 39.174,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8313,
    "c": 0.10881,
    "h": 82.1
  },
  "luminance": 0.57017
}

Semantic roles & 50–950 ramp

primary
#EBC172
secondary
#3E6CC3
accent
#54D70E
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #EBC172

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

Preview Lab → · Contrast checker → · Palette generator →

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