#EBE173#EBE173

#EBE173 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.6% C 0.132 H 104.0°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#EBE173
RGBrgb(235, 225, 115)
HSLhsl(55, 75%, 69%)
HSVhsv(55, 51%, 92%)
CMYKcmyk(0%, 4.3%, 51.1%, 7.8%)
CIE-LABlab(88.33, -10.81, 54.43)
CIE-LCHlch(88.33, 55.49, 101.23°)
OKLaboklab(89.57% -0.0321 0.1283)
OKLCHoklch(89.57% 0.132 104)
XYZxyz(64.2825, 72.7524, 26.8728)
Luminance0.7275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE173 #737DEB
analogous
#EBA573 #EBE173 #B9EB73
triadic
#EBE173 #73EBE1 #E173EB
tetradic
#EBE173 #73EBA5 #737DEB #EB73B9
square
#EBE173 #73EBA5 #737DEB #EB73B9
split-complementary
#EBE173 #73B9EB #A573EB
monochromatic
#C7B91C #E3D63D #EBE173 #F3ECA9 #FAF8DE

Accessibility & contrast

On white

1.35
#EBE173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#EBE173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE173
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE173#FFFFFF#000000##000000
##EBE1731.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA69
Deuteranopia (green-blind)
#F5E078
Tritanopia (blue-blind)
#FAD4C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ebe173;
/* rgb */ color: rgb(235, 225, 115);
/* oklch */ color: oklch(89.6% 0.132 104.0);
Tailwind
colors: {
  custom: {
    50: '#f4ea9e',
    500: '#ebe173',
    950: '#000000',
  },
}
SCSS
$custom: #ebe173;
$custom-light: #f4ea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe173",
  "rgb": {
    "r": 235,
    "g": 225,
    "b": 115
  },
  "hsl": {
    "h": 55,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.89565,
    "c": 0.1323,
    "h": 104
  },
  "luminance": 0.7275
}

Semantic roles & 50–950 ramp

primary
#EBE173
secondary
#3F4AC3
accent
#1FD70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EBE173

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

Preview Lab → · Contrast checker → · Palette generator →

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