#EBC951#EBC951

#EBC951 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.3% C 0.141 H 93.2°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#EBC951
RGBrgb(235, 201, 81)
HSLhsl(47, 79%, 62%)
HSVhsv(47, 66%, 92%)
CMYKcmyk(0%, 14.5%, 65.5%, 7.8%)
CIE-LABlab(81.86, -1.05, 62.33)
CIE-LCHlch(81.86, 62.34, 90.96°)
OKLaboklab(84.33% -0.0079 0.1412)
OKLCHoklch(84.33% 0.141 93.2)
XYZxyz(56.6356, 60.0326, 16.3873)
Luminance0.6003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC951 #5173EB
analogous
#EB7C51 #EBC951 #C0EB51
triadic
#EBC951 #51EBC9 #C951EB
tetradic
#EBC951 #51EB7C #5173EB #EB51C0
square
#EBC951 #51EB7C #5173EB #EB51C0
split-complementary
#EBC951 #51C0EB #7C51EB
monochromatic
#AE8C14 #E5B81A #EBC951 #F1DA88 #F8EBBF

Accessibility & contrast

On white

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

On black

13.01
#EBC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC951
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC951#FFFFFF#000000##000000
##EBC9511.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC642
Deuteranopia (green-blind)
#E6D057
Tritanopia (blue-blind)
#FDBAB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ebc951;
/* rgb */ color: rgb(235, 201, 81);
/* oklch */ color: oklch(84.3% 0.141 93.2);
Tailwind
colors: {
  custom: {
    50: '#f5d987',
    500: '#ebc951',
    950: '#000000',
  },
}
SCSS
$custom: #ebc951;
$custom-light: #f5d987;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc951",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 46.753,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84331,
    "c": 0.14138,
    "h": 93.2
  },
  "luminance": 0.6003
}

Semantic roles & 50–950 ramp

primary
#EBC951
secondary
#324DAE
accent
#38DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC951

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

Preview Lab → · Contrast checker → · Palette generator →

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