#EBD77A#EBD77A

#EBD77A is a very light, moderate yellow. Relative luminance 0.677; OKLCH L 87.6% C 0.116 H 97.5°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#EBD77A
RGBrgb(235, 215, 122)
HSLhsl(49, 74%, 70%)
HSVhsv(49, 48%, 92%)
CMYKcmyk(0%, 8.5%, 48.1%, 7.8%)
CIE-LABlab(85.84, -5.16, 48.10)
CIE-LCHlch(85.84, 48.38, 96.13°)
OKLaboklab(87.62% -0.0151 0.115)
OKLCHoklch(87.62% 0.116 97.5)
XYZxyz(62.0761, 67.6705, 28.2004)
Luminance0.6767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD77A #7A8EEB
analogous
#EB9F7A #EBD77A #C6EB7A
triadic
#EBD77A #7AEBD7 #D77AEB
tetradic
#EBD77A #7AEB9F #7A8EEB #EB7AC6
square
#EBD77A #7AEB9F #7A8EEB #EB7AC6
split-complementary
#EBD77A #7AC6EB #9F7AEB
monochromatic
#CCAD1F #E3C745 #EBD77A #F3E7AF #FBF7E4

Accessibility & contrast

On white

1.44
#EBD77A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#EBD77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD77A
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD77A#FFFFFF#000000##000000
##EBD77A1.001.4414.5314.53
#FFFFFF1.441.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D372
Deuteranopia (green-blind)
#EDDA7E
Tritanopia (blue-blind)
#FACBC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd77a;
/* rgb */ color: rgb(235, 215, 122);
/* oklch */ color: oklch(87.6% 0.116 97.5);
Tailwind
colors: {
  custom: {
    50: '#f3e3a2',
    500: '#ebd77a',
    950: '#000000',
  },
}
SCSS
$custom: #ebd77a;
$custom-light: #f3e3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd77a",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 122
  },
  "hsl": {
    "h": 49.381,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.87619,
    "c": 0.11602,
    "h": 97.5
  },
  "luminance": 0.67668
}

Semantic roles & 50–950 ramp

primary
#EBD77A
secondary
#455CC4
accent
#33D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD77A

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

Preview Lab → · Contrast checker → · Palette generator →

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