#EBD258#EBD258

#EBD258 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.2% C 0.143 H 97.7°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#EBD258
RGBrgb(235, 210, 88)
HSLhsl(50, 79%, 63%)
HSVhsv(50, 63%, 92%)
CMYKcmyk(0%, 10.6%, 62.6%, 7.8%)
CIE-LABlab(84.21, -5.23, 61.87)
CIE-LCHlch(84.21, 62.09, 94.83°)
OKLaboklab(86.21% -0.0191 0.1412)
OKLCHoklch(86.21% 0.143 97.7)
XYZxyz(59.0715, 64.4627, 18.5617)
Luminance0.6446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD258 #5871EB
analogous
#EB8858 #EBD258 #BAEB58
triadic
#EBD258 #58EBD2 #D258EB
tetradic
#EBD258 #58EB88 #5871EB #EB58BA
square
#EBD258 #58EB88 #5871EB #EB58BA
split-complementary
#EBD258 #58BAEB #8858EB
monochromatic
#B39815 #E4C321 #EBD258 #F2E18F #F8EFC5

Accessibility & contrast

On white

1.51
#EBD258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#EBD258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD258
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD258#FFFFFF#000000##000000
##EBD2581.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4A
Deuteranopia (green-blind)
#ECD65E
Tritanopia (blue-blind)
#FCC4B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd258;
/* rgb */ color: rgb(235, 210, 88);
/* oklch */ color: oklch(86.2% 0.143 97.7);
Tailwind
colors: {
  custom: {
    50: '#f5df8c',
    500: '#ebd258',
    950: '#000000',
  },
}
SCSS
$custom: #ebd258;
$custom-light: #f5df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd258",
  "rgb": {
    "r": 235,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 49.796,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86209,
    "c": 0.14251,
    "h": 97.7
  },
  "luminance": 0.6446
}

Semantic roles & 50–950 ramp

primary
#EBD258
secondary
#344AB3
accent
#2EDB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD258

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

Preview Lab → · Contrast checker → · Palette generator →

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