#EBD58F#EBD58F

#EBD58F is a very light, moderate yellow. Relative luminance 0.672; OKLCH L 87.5% C 0.092 H 92.7°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#EBD58F
RGBrgb(235, 213, 143)
HSLhsl(46, 70%, 74%)
HSVhsv(46, 39%, 92%)
CMYKcmyk(0%, 9.4%, 39.1%, 7.8%)
CIE-LABlab(85.62, -2.05, 37.38)
CIE-LCHlch(85.62, 37.43, 93.13°)
OKLaboklab(87.54% -0.0043 0.092)
OKLCHoklch(87.54% 0.092 92.7)
XYZxyz(63.0145, 67.2360, 35.6398)
Luminance0.6723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD58F #8FA5EB
analogous
#EBA78F #EBD58F #D3EB8F
triadic
#EBD58F #8FEBD5 #D58FEB
tetradic
#EBD58F #8FEBA7 #8FA5EB #EB8FD3
square
#EBD58F #8FEBA7 #8FA5EB #EB8FD3
split-complementary
#EBD58F #8FD3EB #A78FEB
monochromatic
#D8AE27 #E2C25B #EBD58F #F4E8C3 #FAF5E5

Accessibility & contrast

On white

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

On black

14.45
#EBD58F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD58F
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD58F#FFFFFF#000000##000000
##EBD58F1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D28A
Deuteranopia (green-blind)
#E9D991
Tritanopia (blue-blind)
#F8CBC3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ebd58f;
/* rgb */ color: rgb(235, 213, 143);
/* oklch */ color: oklch(87.5% 0.092 92.7);
Tailwind
colors: {
  custom: {
    50: '#f3e1b0',
    500: '#ebd58f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd58f;
$custom-light: #f3e1b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd58f",
  "rgb": {
    "r": 235,
    "g": 213,
    "b": 143
  },
  "hsl": {
    "h": 45.652,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.87541,
    "c": 0.09205,
    "h": 92.7
  },
  "luminance": 0.67234
}

Semantic roles & 50–950 ramp

primary
#EBD58F
secondary
#5973C6
accent
#41D214
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBD58F

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

Preview Lab → · Contrast checker → · Palette generator →

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