#EBD55F#EBD55F

#EBD55F is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.9% C 0.139 H 98.8°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#EBD55F
RGBrgb(235, 213, 95)
HSLhsl(51, 78%, 65%)
HSVhsv(51, 60%, 92%)
CMYKcmyk(0%, 9.4%, 59.6%, 7.8%)
CIE-LABlab(85.04, -6.29, 59.74)
CIE-LCHlch(85.04, 60.07, 96.01°)
OKLaboklab(86.89% -0.0214 0.1376)
OKLCHoklch(86.89% 0.139 98.8)
XYZxyz(60.1231, 66.0795, 20.4119)
Luminance0.6608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD55F #5F75EB
analogous
#EB8F5F #EBD55F #BBEB5F
triadic
#EBD55F #5FEBD5 #D55FEB
tetradic
#EBD55F #5FEB8F #5F75EB #EB5FBB
square
#EBD55F #5FEB8F #5F75EB #EB5FBB
split-complementary
#EBD55F #5FBBEB #8F5FEB
monochromatic
#B99F17 #E4C729 #EBD55F #F2E395 #F9F2CC

Accessibility & contrast

On white

1.48
#EBD55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#EBD55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD55F
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD55F#FFFFFF#000000##000000
##EBD55F1.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D052
Deuteranopia (green-blind)
#EED865
Tritanopia (blue-blind)
#FCC7BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd55f;
/* rgb */ color: rgb(235, 213, 95);
/* oklch */ color: oklch(86.9% 0.139 98.8);
Tailwind
colors: {
  custom: {
    50: '#f4e190',
    500: '#ebd55f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd55f;
$custom-light: #f4e190;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd55f",
  "rgb": {
    "r": 235,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 50.571,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86887,
    "c": 0.13926,
    "h": 98.8
  },
  "luminance": 0.66077
}

Semantic roles & 50–950 ramp

primary
#EBD55F
secondary
#364BB8
accent
#2CDA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD55F

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

Preview Lab → · Contrast checker → · Palette generator →

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