#EBE57A#EBE57A

#EBE57A is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.5% C 0.130 H 105.8°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#EBE57A
RGBrgb(235, 229, 122)
HSLhsl(57, 74%, 70%)
HSVhsv(57, 48%, 92%)
CMYKcmyk(0%, 2.6%, 48.1%, 7.8%)
CIE-LABlab(89.44, -12.19, 52.47)
CIE-LCHlch(89.44, 53.87, 103.08°)
OKLaboklab(90.48% -0.0354 0.1247)
OKLCHoklch(90.48% 0.13 105.8)
XYZxyz(65.7947, 75.1078, 29.4400)
Luminance0.7511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE57A #7A80EB
analogous
#EBAC7A #EBE57A #B9EB7A
triadic
#EBE57A #7AEBE5 #E57AEB
tetradic
#EBE57A #7AEBAC #7A80EB #EB7AB9
square
#EBE57A #7AEBAC #7A80EB #EB7AB9
split-complementary
#EBE57A #7AB9EB #AC7AEB
monochromatic
#CCC31F #E3DB45 #EBE57A #F3EFAF #FBFAE4

Accessibility & contrast

On white

1.31
#EBE57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.02
#EBE57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE57A
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE57A#FFFFFF#000000##000000
##EBE57A1.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE71
Deuteranopia (green-blind)
#F8E37F
Tritanopia (blue-blind)
#F9D9CC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ebe57a;
/* rgb */ color: rgb(235, 229, 122);
/* oklch */ color: oklch(90.5% 0.130 105.8);
Tailwind
colors: {
  custom: {
    50: '#f3eda3',
    500: '#ebe57a',
    950: '#000000',
  },
}
SCSS
$custom: #ebe57a;
$custom-light: #f3eda3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe57a",
  "rgb": {
    "r": 235,
    "g": 229,
    "b": 122
  },
  "hsl": {
    "h": 56.814,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.90476,
    "c": 0.12959,
    "h": 105.8
  },
  "luminance": 0.75106
}

Semantic roles & 50–950 ramp

primary
#EBE57A
secondary
#454CC4
accent
#1AD610
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EBE57A

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

Preview Lab → · Contrast checker → · Palette generator →

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