#EBD58B#EBD58B

#EBD58B is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.5% C 0.096 H 93.5°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#EBD58B
RGBrgb(235, 213, 139)
HSLhsl(46, 71%, 73%)
HSVhsv(46, 41%, 92%)
CMYKcmyk(0%, 9.4%, 40.9%, 7.8%)
CIE-LABlab(85.56, -2.47, 39.33)
CIE-LCHlch(85.56, 39.40, 93.60°)
OKLaboklab(87.47% -0.0058 0.0963)
OKLCHoklch(87.47% 0.096 93.5)
XYZxyz(62.7169, 67.1170, 34.0723)
Luminance0.6712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD58B #8BA1EB
analogous
#EBA58B #EBD58B #D1EB8B
triadic
#EBD58B #8BEBD5 #D58BEB
tetradic
#EBD58B #8BEBA5 #8BA1EB #EB8BD1
square
#EBD58B #8BEBA5 #8BA1EB #EB8BD1
split-complementary
#EBD58B #8BD1EB #A58BEB
monochromatic
#D7AE25 #E2C257 #EBD58B #F4E8BF #FAF6E5

Accessibility & contrast

On white

1.46
#EBD58B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#EBD58B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD58B
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD58B#FFFFFF#000000##000000
##EBD58B1.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D285
Deuteranopia (green-blind)
#EAD98E
Tritanopia (blue-blind)
#F9CAC2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ebd58b;
/* rgb */ color: rgb(235, 213, 139);
/* oklch */ color: oklch(87.5% 0.096 93.5);
Tailwind
colors: {
  custom: {
    50: '#f3e1ae',
    500: '#ebd58b',
    950: '#000000',
  },
}
SCSS
$custom: #ebd58b;
$custom-light: #f3e1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd58b",
  "rgb": {
    "r": 235,
    "g": 213,
    "b": 139
  },
  "hsl": {
    "h": 46.25,
    "s": 70.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87474,
    "c": 0.09644,
    "h": 93.5
  },
  "luminance": 0.67115
}

Semantic roles & 50–950 ramp

primary
#EBD58B
secondary
#556FC5
accent
#3FD313
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBD58B

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

Preview Lab → · Contrast checker → · Palette generator →

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