#EBCD5B#EBCD5B

#EBCD5B is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 85.2% C 0.136 H 94.6°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#EBCD5B
RGBrgb(235, 205, 91)
HSLhsl(48, 78%, 64%)
HSVhsv(48, 61%, 92%)
CMYKcmyk(0%, 12.8%, 61.3%, 7.8%)
CIE-LABlab(82.96, -2.48, 59.20)
CIE-LCHlch(82.96, 59.25, 92.40°)
OKLaboklab(85.23% -0.0109 0.1359)
OKLCHoklch(85.23% 0.136 94.6)
XYZxyz(57.9832, 62.0830, 18.8246)
Luminance0.6208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCD5B #5B79EB
analogous
#EB855B #EBCD5B #C1EB5B
triadic
#EBCD5B #5BEBCD #CD5BEB
tetradic
#EBCD5B #5BEB85 #5B79EB #EB5BC1
square
#EBCD5B #5BEB85 #5B79EB #EB5BC1
split-complementary
#EBCD5B #5BC1EB #855BEB
monochromatic
#B59416 #E4BC24 #EBCD5B #F2DE92 #F8EEC8

Accessibility & contrast

On white

1.57
#EBCD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#EBCD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCD5B
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCD5B#FFFFFF#000000##000000
##EBCD5B1.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94F
Deuteranopia (green-blind)
#E8D360
Tritanopia (blue-blind)
#FCBFB4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ebcd5b;
/* rgb */ color: rgb(235, 205, 91);
/* oklch */ color: oklch(85.2% 0.136 94.6);
Tailwind
colors: {
  custom: {
    50: '#f5db8e',
    500: '#ebcd5b',
    950: '#000000',
  },
}
SCSS
$custom: #ebcd5b;
$custom-light: #f5db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcd5b",
  "rgb": {
    "r": 235,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 47.5,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8523,
    "c": 0.13637,
    "h": 94.6
  },
  "luminance": 0.6208
}

Semantic roles & 50–950 ramp

primary
#EBCD5B
secondary
#3550B5
accent
#36DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #EBCD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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