#EBD56F#EBD56F

#EBD56F is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.1% C 0.125 H 97.4°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#EBD56F
RGBrgb(235, 213, 111)
HSLhsl(49, 76%, 68%)
HSVhsv(49, 53%, 92%)
CMYKcmyk(0%, 9.4%, 52.8%, 7.8%)
CIE-LABlab(85.20, -5.09, 52.60)
CIE-LCHlch(85.20, 52.85, 95.53°)
OKLaboklab(87.07% -0.0161 0.124)
OKLCHoklch(87.07% 0.125 97.4)
XYZxyz(60.9265, 66.4008, 24.6432)
Luminance0.6640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD56F #6F85EB
analogous
#EB976F #EBD56F #C3EB6F
triadic
#EBD56F #6FEBD5 #D56FEB
tetradic
#EBD56F #6FEB97 #6F85EB #EB6FC3
square
#EBD56F #6FEB97 #6F85EB #EB6FC3
split-complementary
#EBD56F #6FC3EB #976FEB
monochromatic
#C4A61B #E4C539 #EBD56F #F2E5A5 #FAF4DA

Accessibility & contrast

On white

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

On black

14.28
#EBD56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD56F
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD56F#FFFFFF#000000##000000
##EBD56F1.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D066
Deuteranopia (green-blind)
#ECD873
Tritanopia (blue-blind)
#FBC8BE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ebd56f;
/* rgb */ color: rgb(235, 213, 111);
/* oklch */ color: oklch(87.1% 0.125 97.4);
Tailwind
colors: {
  custom: {
    50: '#f4e19b',
    500: '#ebd56f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd56f;
$custom-light: #f4e19b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd56f",
  "rgb": {
    "r": 235,
    "g": 213,
    "b": 111
  },
  "hsl": {
    "h": 49.355,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87069,
    "c": 0.12503,
    "h": 97.4
  },
  "luminance": 0.66398
}

Semantic roles & 50–950 ramp

primary
#EBD56F
secondary
#3C54C2
accent
#32D80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD56F

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

Preview Lab → · Contrast checker → · Palette generator →

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