#EBA227#EBA227

#EBA227 is a light, vivid orange. Relative luminance 0.436; OKLCH L 76.5% C 0.152 H 74.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#EBA227
RGBrgb(235, 162, 39)
HSLhsl(38, 83%, 54%)
HSVhsv(38, 83%, 92%)
CMYKcmyk(0%, 31.1%, 83.4%, 7.8%)
CIE-LABlab(72.00, 17.63, 68.51)
CIE-LCHlch(72.00, 70.74, 75.57°)
OKLaboklab(76.51% 0.0414 0.146)
OKLCHoklch(76.51% 0.152 74.2)
XYZxyz(47.5512, 43.6536, 7.8407)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA227 #2770EB
analogous
#EB4027 #EBA227 #D2EB27
triadic
#EBA227 #27EBA2 #A227EB
tetradic
#EBA227 #27EB40 #2770EB #EB27D2
square
#EBA227 #27EB40 #2770EB #EB27D2
split-complementary
#EBA227 #27D2EB #4027EB
monochromatic
#8B5C0D #C38112 #EBA227 #F0BA5F #F5D297

Accessibility & contrast

On white

2.16
#EBA227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#EBA227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA227
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA227#FFFFFF#000000##000000
##EBA2271.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA602
Deuteranopia (green-blind)
#CDB82C
Tritanopia (blue-blind)
#FF8F8B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #eba227;
/* rgb */ color: rgb(235, 162, 39);
/* oklch */ color: oklch(76.5% 0.152 74.2);
Tailwind
colors: {
  custom: {
    50: '#f8bd6d',
    500: '#eba227',
    950: '#000000',
  },
}
SCSS
$custom: #eba227;
$custom-light: #f8bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#eba227",
  "rgb": {
    "r": 235,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 37.653,
    "s": 83.051,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76505,
    "c": 0.15175,
    "h": 74.2
  },
  "luminance": 0.43649
}

Semantic roles & 50–950 ramp

primary
#EBA227
secondary
#8DACE1
accent
#7AF92E
background
#FFFBF6
surface
#FFF6EC
border
#D7D0C7
text
#181208
muted
#86817B

Preview Lab

Preview with #EBA227

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

Preview Lab → · Contrast checker → · Palette generator →

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