#EBD77C#EBD77C

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

Color values

HEX#EBD77C
RGBrgb(235, 215, 124)
HSLhsl(49, 74%, 70%)
HSVhsv(49, 47%, 92%)
CMYKcmyk(0%, 8.5%, 47.2%, 7.8%)
CIE-LABlab(85.87, -4.98, 47.16)
CIE-LCHlch(85.87, 47.42, 96.03°)
OKLaboklab(87.65% -0.0144 0.1131)
OKLCHoklch(87.65% 0.114 97.3)
XYZxyz(62.2013, 67.7206, 28.8598)
Luminance0.6772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD77C #7C90EB
analogous
#EB9F7C #EBD77C #C8EB7C
triadic
#EBD77C #7CEBD7 #D77CEB
tetradic
#EBD77C #7CEB9F #7C90EB #EB7CC8
square
#EBD77C #7CEB9F #7C90EB #EB7CC8
split-complementary
#EBD77C #7CC8EB #9F7CEB
monochromatic
#CDAE1F #E3C747 #EBD77C #F3E7B1 #FBF7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD77C#FFFFFF#000000##000000
##EBD77C1.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)
#E7D374
Deuteranopia (green-blind)
#EDDA80
Tritanopia (blue-blind)
#FACBC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd77c;
/* rgb */ color: rgb(235, 215, 124);
/* oklch */ color: oklch(87.6% 0.114 97.3);
Tailwind
colors: {
  custom: {
    50: '#f3e3a3',
    500: '#ebd77c',
    950: '#000000',
  },
}
SCSS
$custom: #ebd77c;
$custom-light: #f3e3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd77c",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 124
  },
  "hsl": {
    "h": 49.189,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87647,
    "c": 0.114,
    "h": 97.3
  },
  "luminance": 0.67718
}

Semantic roles & 50–950 ramp

primary
#EBD77C
secondary
#475EC4
accent
#34D610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD77C

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

Preview Lab → · Contrast checker → · Palette generator →

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