#EBD958#EBD958

#EBD958 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.6% C 0.148 H 101.4°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#EBD958
RGBrgb(235, 217, 88)
HSLhsl(53, 79%, 63%)
HSVhsv(53, 63%, 92%)
CMYKcmyk(0%, 7.7%, 62.6%, 7.8%)
CIE-LABlab(86.00, -8.77, 63.81)
CIE-LCHlch(86.00, 64.41, 97.82°)
OKLaboklab(87.63% -0.0292 0.1453)
OKLCHoklch(87.63% 0.148 101.4)
XYZxyz(60.8377, 67.9950, 19.1504)
Luminance0.6799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD958 #586AEB
analogous
#EB8F58 #EBD958 #B3EB58
triadic
#EBD958 #58EBD9 #D958EB
tetradic
#EBD958 #58EB8F #586AEB #EB58B3
square
#EBD958 #58EB8F #586AEB #EB58B3
split-complementary
#EBD958 #58B3EB #8F58EB
monochromatic
#B3A015 #E4CD21 #EBD958 #F2E58F #F8F2C5

Accessibility & contrast

On white

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

On black

14.60
#EBD958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD958
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD958#FFFFFF#000000##000000
##EBD9581.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD349
Deuteranopia (green-blind)
#F1DA5F
Tritanopia (blue-blind)
#FCCBBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd958;
/* rgb */ color: rgb(235, 217, 88);
/* oklch */ color: oklch(87.6% 0.148 101.4);
Tailwind
colors: {
  custom: {
    50: '#f5e48c',
    500: '#ebd958',
    950: '#000000',
  },
}
SCSS
$custom: #ebd958;
$custom-light: #f5e48c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd958",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 52.653,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87634,
    "c": 0.14825,
    "h": 101.4
  },
  "luminance": 0.67992
}

Semantic roles & 50–950 ramp

primary
#EBD958
secondary
#3444B3
accent
#24DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #EBD958

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

Preview Lab → · Contrast checker → · Palette generator →

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