#EBC958#EBC958

#EBC958 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.4% C 0.136 H 92.5°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#EBC958
RGBrgb(235, 201, 88)
HSLhsl(46, 79%, 63%)
HSVhsv(46, 63%, 92%)
CMYKcmyk(0%, 14.5%, 62.6%, 7.8%)
CIE-LABlab(81.92, -0.62, 59.38)
CIE-LCHlch(81.92, 59.38, 90.60°)
OKLaboklab(84.4% -0.0059 0.1359)
OKLCHoklch(84.4% 0.136 92.5)
XYZxyz(56.9117, 60.1431, 17.8417)
Luminance0.6014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC958 #587AEB
analogous
#EB7F58 #EBC958 #C4EB58
triadic
#EBC958 #58EBC9 #C958EB
tetradic
#EBC958 #58EB7F #587AEB #EB58C4
square
#EBC958 #58EB7F #587AEB #EB58C4
split-complementary
#EBC958 #58C4EB #7F58EB
monochromatic
#B38F15 #E4B721 #EBC958 #F2DB8F #F8ECC5

Accessibility & contrast

On white

1.61
#EBC958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#EBC958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC958
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC958#FFFFFF#000000##000000
##EBC9581.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64C
Deuteranopia (green-blind)
#E5D05D
Tritanopia (blue-blind)
#FDBAB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebc958;
/* rgb */ color: rgb(235, 201, 88);
/* oklch */ color: oklch(84.4% 0.136 92.5);
Tailwind
colors: {
  custom: {
    50: '#f5d98b',
    500: '#ebc958',
    950: '#000000',
  },
}
SCSS
$custom: #ebc958;
$custom-light: #f5d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc958",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 88
  },
  "hsl": {
    "h": 46.122,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84398,
    "c": 0.13604,
    "h": 92.5
  },
  "luminance": 0.6014
}

Semantic roles & 50–950 ramp

primary
#EBC958
secondary
#3451B3
accent
#3BDB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC958

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

Preview Lab → · Contrast checker → · Palette generator →

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