#EBE77A#EBE77A

#EBE77A is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 90.9% C 0.132 H 106.9°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#EBE77A
RGBrgb(235, 231, 122)
HSLhsl(58, 74%, 70%)
HSVhsv(58, 48%, 92%)
CMYKcmyk(0%, 1.7%, 48.1%, 7.8%)
CIE-LABlab(89.96, -13.18, 53.09)
CIE-LCHlch(89.96, 54.71, 103.95°)
OKLaboklab(90.89% -0.0382 0.126)
OKLCHoklch(90.89% 0.132 106.9)
XYZxyz(66.3513, 76.2209, 29.6255)
Luminance0.7622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE77A #7A7EEB
analogous
#EBAE7A #EBE77A #B7EB7A
triadic
#EBE77A #7AEBE7 #E77AEB
tetradic
#EBE77A #7AEBAE #7A7EEB #EB7AB7
square
#EBE77A #7AEBAE #7A7EEB #EB7AB7
split-complementary
#EBE77A #7AB7EB #AE7AEB
monochromatic
#CCC61F #E3DD45 #EBE77A #F3F1AF #FBFAE4

Accessibility & contrast

On white

1.29
#EBE77A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.24
#EBE77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE77A
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE77A#FFFFFF#000000##000000
##EBE77A1.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E070
Deuteranopia (green-blind)
#F9E47F
Tritanopia (blue-blind)
#F9DBCE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ebe77a;
/* rgb */ color: rgb(235, 231, 122);
/* oklch */ color: oklch(90.9% 0.132 106.9);
Tailwind
colors: {
  custom: {
    50: '#f3eea3',
    500: '#ebe77a',
    950: '#000000',
  },
}
SCSS
$custom: #ebe77a;
$custom-light: #f3eea3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe77a",
  "rgb": {
    "r": 235,
    "g": 231,
    "b": 122
  },
  "hsl": {
    "h": 57.876,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.90888,
    "c": 0.1317,
    "h": 106.9
  },
  "luminance": 0.76219
}

Semantic roles & 50–950 ramp

primary
#EBE77A
secondary
#454AC4
accent
#17D610
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EBE77A

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

Preview Lab → · Contrast checker → · Palette generator →

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