#EBD85F#EBD85F

#EBD85F is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.5% C 0.142 H 100.4°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#EBD85F
RGBrgb(235, 216, 95)
HSLhsl(52, 78%, 65%)
HSVhsv(52, 60%, 92%)
CMYKcmyk(0%, 8.1%, 59.6%, 7.8%)
CIE-LABlab(85.81, -7.81, 60.59)
CIE-LCHlch(85.81, 61.09, 97.34°)
OKLaboklab(87.5% -0.0257 0.1394)
OKLCHoklch(87.5% 0.142 100.4)
XYZxyz(60.8847, 67.6026, 20.6658)
Luminance0.6760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD85F #5F72EB
analogous
#EB925F #EBD85F #B8EB5F
triadic
#EBD85F #5FEBD8 #D85FEB
tetradic
#EBD85F #5FEB92 #5F72EB #EB5FB8
square
#EBD85F #5FEB92 #5F72EB #EB5FB8
split-complementary
#EBD85F #5FB8EB #925FEB
monochromatic
#B9A317 #E4CB29 #EBD85F #F2E595 #F9F3CC

Accessibility & contrast

On white

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

On black

14.52
#EBD85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD85F
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD85F#FFFFFF#000000##000000
##EBD85F1.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#F0DA65
Tritanopia (blue-blind)
#FCCABE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd85f;
/* rgb */ color: rgb(235, 216, 95);
/* oklch */ color: oklch(87.5% 0.142 100.4);
Tailwind
colors: {
  custom: {
    50: '#f4e391',
    500: '#ebd85f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd85f;
$custom-light: #f4e391;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd85f",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 51.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87498,
    "c": 0.14179,
    "h": 100.4
  },
  "luminance": 0.676
}

Semantic roles & 50–950 ramp

primary
#EBD85F
secondary
#3648B8
accent
#28DA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD85F

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

Preview Lab → · Contrast checker → · Palette generator →

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