#EBD77B#EBD77B

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

Color values

HEX#EBD77B
RGBrgb(235, 215, 123)
HSLhsl(49, 74%, 70%)
HSVhsv(49, 48%, 92%)
CMYKcmyk(0%, 8.5%, 47.7%, 7.8%)
CIE-LABlab(85.85, -5.07, 47.63)
CIE-LCHlch(85.85, 47.90, 96.08°)
OKLaboklab(87.63% -0.0148 0.1141)
OKLCHoklch(87.63% 0.115 97.4)
XYZxyz(62.1384, 67.6954, 28.5284)
Luminance0.6769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD77B #7B8FEB
analogous
#EB9F7B #EBD77B #C7EB7B
triadic
#EBD77B #7BEBD7 #D77BEB
tetradic
#EBD77B #7BEB9F #7B8FEB #EB7BC7
square
#EBD77B #7BEB9F #7B8FEB #EB7BC7
split-complementary
#EBD77B #7BC7EB #9F7BEB
monochromatic
#CDAE1F #E3C746 #EBD77B #F3E7B0 #FBF7E4

Accessibility & contrast

On white

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

On black

14.54
#EBD77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD77B
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD77B#FFFFFF#000000##000000
##EBD77B1.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebd77b;
/* rgb */ color: rgb(235, 215, 123);
/* oklch */ color: oklch(87.6% 0.115 97.4);
Tailwind
colors: {
  custom: {
    50: '#f3e3a3',
    500: '#ebd77b',
    950: '#000000',
  },
}
SCSS
$custom: #ebd77b;
$custom-light: #f3e3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd77b",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 123
  },
  "hsl": {
    "h": 49.286,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87633,
    "c": 0.115,
    "h": 97.4
  },
  "luminance": 0.67693
}

Semantic roles & 50–950 ramp

primary
#EBD77B
secondary
#465DC4
accent
#33D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD77B

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

Preview Lab → · Contrast checker → · Palette generator →

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