#EBD772#EBD772

#EBD772 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.5% C 0.124 H 98.4°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#EBD772
RGBrgb(235, 215, 114)
HSLhsl(50, 75%, 68%)
HSVhsv(50, 51%, 92%)
CMYKcmyk(0%, 8.5%, 51.5%, 7.8%)
CIE-LABlab(85.75, -5.86, 51.83)
CIE-LCHlch(85.75, 52.16, 96.45°)
OKLaboklab(87.51% -0.018 0.1226)
OKLCHoklch(87.51% 0.124 98.4)
XYZxyz(61.6007, 67.4803, 25.6965)
Luminance0.6748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD772 #7286EB
analogous
#EB9A72 #EBD772 #C2EB72
triadic
#EBD772 #72EBD7 #D772EB
tetradic
#EBD772 #72EB9A #7286EB #EB72C2
square
#EBD772 #72EB9A #7286EB #EB72C2
split-complementary
#EBD772 #72C2EB #9A72EB
monochromatic
#C6AA1C #E3C83C #EBD772 #F3E6A8 #FAF5DD

Accessibility & contrast

On white

1.45
#EBD772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#EBD772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD772
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD772#FFFFFF#000000##000000
##EBD7721.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D269
Deuteranopia (green-blind)
#EEDA76
Tritanopia (blue-blind)
#FBCAC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ebd772;
/* rgb */ color: rgb(235, 215, 114);
/* oklch */ color: oklch(87.5% 0.124 98.4);
Tailwind
colors: {
  custom: {
    50: '#f4e39d',
    500: '#ebd772',
    950: '#000000',
  },
}
SCSS
$custom: #ebd772;
$custom-light: #f4e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd772",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 50.083,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87512,
    "c": 0.12389,
    "h": 98.4
  },
  "luminance": 0.67478
}

Semantic roles & 50–950 ramp

primary
#EBD772
secondary
#3E54C3
accent
#2FD70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD772

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

Preview Lab → · Contrast checker → · Palette generator →

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