#EBD04F#EBD04F

#EBD04F is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.7% C 0.148 H 97.3°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#EBD04F
RGBrgb(235, 208, 79)
HSLhsl(50, 80%, 62%)
HSVhsv(50, 66%, 92%)
CMYKcmyk(0%, 11.5%, 66.4%, 7.8%)
CIE-LABlab(83.62, -4.74, 65.02)
CIE-LCHlch(83.62, 65.19, 94.17°)
OKLaboklab(85.72% -0.0187 0.1465)
OKLCHoklch(85.72% 0.148 97.3)
XYZxyz(58.2308, 63.3413, 16.5545)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD04F #4F6AEB
analogous
#EB824F #EBD04F #B8EB4F
triadic
#EBD04F #4FEBD0 #D04FEB
tetradic
#EBD04F #4FEB82 #4F6AEB #EB4FB8
square
#EBD04F #4FEB82 #4F6AEB #EB4FB8
split-complementary
#EBD04F #4FB8EB #824FEB
monochromatic
#AC9214 #E3C01A #EBD04F #F1DF86 #F7EDBD

Accessibility & contrast

On white

1.54
#EBD04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#EBD04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD04F
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD04F#FFFFFF#000000##000000
##EBD04F1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3E
Deuteranopia (green-blind)
#EBD456
Tritanopia (blue-blind)
#FDC1B5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ebd04f;
/* rgb */ color: rgb(235, 208, 79);
/* oklch */ color: oklch(85.7% 0.148 97.3);
Tailwind
colors: {
  custom: {
    50: '#f5de87',
    500: '#ebd04f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd04f;
$custom-light: #f5de87;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd04f",
  "rgb": {
    "r": 235,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 49.615,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85723,
    "c": 0.14772,
    "h": 97.3
  },
  "luminance": 0.63338
}

Semantic roles & 50–950 ramp

primary
#EBD04F
secondary
#3147AD
accent
#2EDC0A
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD04F

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

Preview Lab → · Contrast checker → · Palette generator →

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