#EBC271#EBC271

#EBC271 is a very light, moderate orange. Relative luminance 0.574; OKLCH L 83.3% C 0.110 H 83.2°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#EBC271
RGBrgb(235, 194, 113)
HSLhsl(40, 75%, 68%)
HSVhsv(40, 52%, 92%)
CMYKcmyk(0%, 17.4%, 51.9%, 7.8%)
CIE-LABlab(80.43, 4.87, 45.90)
CIE-LCHlch(80.43, 46.15, 83.95°)
OKLaboklab(83.31% 0.0131 0.1094)
OKLCHoklch(83.31% 0.11 83.2)
XYZxyz(56.5357, 57.4411, 23.7289)
Luminance0.5744 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC271 #719AEB
analogous
#EB8571 #EBC271 #D7EB71
triadic
#EBC271 #71EBC2 #C271EB
tetradic
#EBC271 #71EB85 #719AEB #EB71D7
square
#EBC271 #71EB85 #719AEB #EB71D7
split-complementary
#EBC271 #71D7EB #8571EB
monochromatic
#C68D1C #E3AB3B #EBC271 #F3D9A7 #FAF0DC

Accessibility & contrast

On white

1.68
#EBC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#EBC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC271
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC271#FFFFFF#000000##000000
##EBC2711.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16A
Deuteranopia (green-blind)
#DECC74
Tritanopia (blue-blind)
#FCB5AF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ebc271;
/* rgb */ color: rgb(235, 194, 113);
/* oklch */ color: oklch(83.3% 0.110 83.2);
Tailwind
colors: {
  custom: {
    50: '#f4d49b',
    500: '#ebc271',
    950: '#000000',
  },
}
SCSS
$custom: #ebc271;
$custom-light: #f4d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc271",
  "rgb": {
    "r": 235,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 39.836,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83311,
    "c": 0.11022,
    "h": 83.2
  },
  "luminance": 0.57438
}

Semantic roles & 50–950 ramp

primary
#EBC271
secondary
#3D6AC3
accent
#52D70E
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #EBC271

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

Preview Lab → · Contrast checker → · Palette generator →

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