#EBD56A#EBD56A

#EBD56A is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.0% C 0.130 H 97.9°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#EBD56A
RGBrgb(235, 213, 106)
HSLhsl(50, 76%, 67%)
HSVhsv(50, 55%, 92%)
CMYKcmyk(0%, 9.4%, 54.9%, 7.8%)
CIE-LABlab(85.15, -5.49, 54.88)
CIE-LCHlch(85.15, 55.15, 95.72°)
OKLaboklab(87.01% -0.0178 0.1284)
OKLCHoklch(87.01% 0.13 97.9)
XYZxyz(60.6589, 66.2938, 23.2337)
Luminance0.6629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD56A #6A80EB
analogous
#EB946A #EBD56A #C1EB6A
triadic
#EBD56A #6AEBD5 #D56AEB
tetradic
#EBD56A #6AEB94 #6A80EB #EB6AC1
square
#EBD56A #6AEB94 #6A80EB #EB6AC1
split-complementary
#EBD56A #6AC1EB #946AEB
monochromatic
#C1A41A #E4C634 #EBD56A #F2E4A0 #F9F3D6

Accessibility & contrast

On white

1.47
#EBD56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#EBD56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD56A
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD56A#FFFFFF#000000##000000
##EBD56A1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D060
Deuteranopia (green-blind)
#EDD86F
Tritanopia (blue-blind)
#FBC8BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ebd56a;
/* rgb */ color: rgb(235, 213, 106);
/* oklch */ color: oklch(87.0% 0.130 97.9);
Tailwind
colors: {
  custom: {
    50: '#f4e197',
    500: '#ebd56a',
    950: '#000000',
  },
}
SCSS
$custom: #ebd56a;
$custom-light: #f4e197;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd56a",
  "rgb": {
    "r": 235,
    "g": 213,
    "b": 106
  },
  "hsl": {
    "h": 49.767,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87009,
    "c": 0.12967,
    "h": 97.9
  },
  "luminance": 0.66291
}

Semantic roles & 50–950 ramp

primary
#EBD56A
secondary
#3A51BF
accent
#30D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD56A

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

Preview Lab → · Contrast checker → · Palette generator →

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