#EBD86F#EBD86F

#EBD86F is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.7% C 0.128 H 99.2°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#EBD86F
RGBrgb(235, 216, 111)
HSLhsl(51, 76%, 68%)
HSVhsv(51, 53%, 92%)
CMYKcmyk(0%, 8.1%, 52.8%, 7.8%)
CIE-LABlab(85.97, -6.62, 53.51)
CIE-LCHlch(85.97, 53.92, 97.05°)
OKLaboklab(87.68% -0.0205 0.126)
OKLCHoklch(87.68% 0.128 99.2)
XYZxyz(61.6881, 67.9240, 24.8971)
Luminance0.6792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD86F #6F82EB
analogous
#EB9A6F #EBD86F #C0EB6F
triadic
#EBD86F #6FEBD8 #D86FEB
tetradic
#EBD86F #6FEB9A #6F82EB #EB6FC0
square
#EBD86F #6FEB9A #6F82EB #EB6FC0
split-complementary
#EBD86F #6FC0EB #9A6FEB
monochromatic
#C4AA1B #E4C939 #EBD86F #F2E7A5 #FAF5DA

Accessibility & contrast

On white

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

On black

14.58
#EBD86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD86F
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD86F#FFFFFF#000000##000000
##EBD86F1.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D365
Deuteranopia (green-blind)
#EFDA74
Tritanopia (blue-blind)
#FBCBC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd86f;
/* rgb */ color: rgb(235, 216, 111);
/* oklch */ color: oklch(87.7% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#f4e39b',
    500: '#ebd86f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd86f;
$custom-light: #f4e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd86f",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 111
  },
  "hsl": {
    "h": 50.806,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87678,
    "c": 0.12762,
    "h": 99.2
  },
  "luminance": 0.67922
}

Semantic roles & 50–950 ramp

primary
#EBD86F
secondary
#3C50C2
accent
#2DD80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD86F

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

Preview Lab → · Contrast checker → · Palette generator →

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