#EBCD5A#EBCD5A

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

Color values

HEX#EBCD5A
RGBrgb(235, 205, 90)
HSLhsl(48, 78%, 64%)
HSVhsv(48, 62%, 92%)
CMYKcmyk(0%, 12.8%, 61.7%, 7.8%)
CIE-LABlab(82.95, -2.55, 59.63)
CIE-LCHlch(82.95, 59.69, 92.45°)
OKLaboklab(85.22% -0.0112 0.1367)
OKLCHoklch(85.22% 0.137 94.7)
XYZxyz(57.9403, 62.0659, 18.5989)
Luminance0.6206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCD5A #5A78EB
analogous
#EB845A #EBCD5A #C0EB5A
triadic
#EBCD5A #5AEBCD #CD5AEB
tetradic
#EBCD5A #5AEB84 #5A78EB #EB5AC0
square
#EBCD5A #5AEB84 #5A78EB #EB5AC0
split-complementary
#EBCD5A #5AC0EB #845AEB
monochromatic
#B59416 #E4BC23 #EBCD5A #F2DE91 #F8EEC7

Accessibility & contrast

On white

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

On black

13.41
#EBCD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCD5A
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCD5A#FFFFFF#000000##000000
##EBCD5A1.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94D
Deuteranopia (green-blind)
#E8D35F
Tritanopia (blue-blind)
#FDBFB4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ebcd5a;
/* rgb */ color: rgb(235, 205, 90);
/* oklch */ color: oklch(85.2% 0.137 94.7);
Tailwind
colors: {
  custom: {
    50: '#f5db8d',
    500: '#ebcd5a',
    950: '#000000',
  },
}
SCSS
$custom: #ebcd5a;
$custom-light: #f5db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcd5a",
  "rgb": {
    "r": 235,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 47.586,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85219,
    "c": 0.13719,
    "h": 94.7
  },
  "luminance": 0.62063
}

Semantic roles & 50–950 ramp

primary
#EBCD5A
secondary
#354FB5
accent
#36DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBCD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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