#EBC162#EBC162

#EBC162 is a very light, vivid orange. Relative luminance 0.567; OKLCH L 82.9% C 0.123 H 85.6°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#EBC162
RGBrgb(235, 193, 98)
HSLhsl(42, 77%, 65%)
HSVhsv(42, 58%, 92%)
CMYKcmyk(0%, 17.9%, 58.3%, 7.8%)
CIE-LABlab(80.00, 4.20, 52.66)
CIE-LCHlch(80.00, 52.82, 85.44°)
OKLaboklab(82.92% 0.0093 0.1228)
OKLCHoklch(82.92% 0.123 85.6)
XYZxyz(55.5382, 56.6871, 19.5693)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC162 #628CEB
analogous
#EB7C62 #EBC162 #D0EB62
triadic
#EBC162 #62EBC1 #C162EB
tetradic
#EBC162 #62EB7C #628CEB #EB62D0
square
#EBC162 #62EB7C #628CEB #EB62D0
split-complementary
#EBC162 #62D0EB #7C62EB
monochromatic
#BB8918 #E4AC2C #EBC162 #F2D698 #F9ECCF

Accessibility & contrast

On white

1.70
#EBC162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#EBC162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC162
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC162#FFFFFF#000000##000000
##EBC1621.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C059
Deuteranopia (green-blind)
#DFCB65
Tritanopia (blue-blind)
#FDB3AB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ebc162;
/* rgb */ color: rgb(235, 193, 98);
/* oklch */ color: oklch(82.9% 0.123 85.6);
Tailwind
colors: {
  custom: {
    50: '#f5d391',
    500: '#ebc162',
    950: '#000000',
  },
}
SCSS
$custom: #ebc162;
$custom-light: #f5d391;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc162",
  "rgb": {
    "r": 235,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 41.606,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.82922,
    "c": 0.12312,
    "h": 85.6
  },
  "luminance": 0.56684
}

Semantic roles & 50–950 ramp

primary
#EBC162
secondary
#375FBA
accent
#4BDA0C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBC162

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

Preview Lab → · Contrast checker → · Palette generator →

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