#EBD875#EBD875

#EBD875 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.8% C 0.122 H 98.7°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#EBD875
RGBrgb(235, 216, 117)
HSLhsl(50, 75%, 69%)
HSVhsv(50, 50%, 92%)
CMYKcmyk(0%, 8.1%, 50.2%, 7.8%)
CIE-LABlab(86.04, -6.11, 50.75)
CIE-LCHlch(86.04, 51.12, 96.87°)
OKLaboklab(87.75% -0.0184 0.1205)
OKLCHoklch(87.75% 0.122 98.7)
XYZxyz(62.0296, 68.0606, 26.6958)
Luminance0.6806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD875 #7588EB
analogous
#EB9D75 #EBD875 #C3EB75
triadic
#EBD875 #75EBD8 #D875EB
tetradic
#EBD875 #75EB9D #7588EB #EB75C3
square
#EBD875 #75EB9D #7588EB #EB75C3
split-complementary
#EBD875 #75C3EB #9D75EB
monochromatic
#C9AD1D #E3C940 #EBD875 #F3E7AA #FAF6E0

Accessibility & contrast

On white

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

On black

14.61
#EBD875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD875
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD875#FFFFFF#000000##000000
##EBD8751.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebd875;
/* rgb */ color: rgb(235, 216, 117);
/* oklch */ color: oklch(87.8% 0.122 98.7);
Tailwind
colors: {
  custom: {
    50: '#f4e39f',
    500: '#ebd875',
    950: '#000000',
  },
}
SCSS
$custom: #ebd875;
$custom-light: #f4e39f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd875",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 117
  },
  "hsl": {
    "h": 50.339,
    "s": 74.684,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87754,
    "c": 0.12187,
    "h": 98.7
  },
  "luminance": 0.68058
}

Semantic roles & 50–950 ramp

primary
#EBD875
secondary
#4156C3
accent
#2FD70F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD875

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

Preview Lab → · Contrast checker → · Palette generator →

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