#EBD34F#EBD34F

#EBD34F is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.3% C 0.150 H 98.9°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#EBD34F
RGBrgb(235, 211, 79)
HSLhsl(51, 80%, 62%)
HSVhsv(51, 66%, 92%)
CMYKcmyk(0%, 10.2%, 66.4%, 7.8%)
CIE-LABlab(84.39, -6.27, 65.81)
CIE-LCHlch(84.39, 66.11, 95.44°)
OKLaboklab(86.33% -0.0231 0.1482)
OKLCHoklch(86.33% 0.15 98.9)
XYZxyz(58.9691, 64.8180, 16.8006)
Luminance0.6482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD34F #4F67EB
analogous
#EB854F #EBD34F #B5EB4F
triadic
#EBD34F #4FEBD3 #D34FEB
tetradic
#EBD34F #4FEB85 #4F67EB #EB4FB5
square
#EBD34F #4FEB85 #4F67EB #EB4FB5
split-complementary
#EBD34F #4FB5EB #854FEB
monochromatic
#AC9514 #E3C41A #EBD34F #F1E186 #F7EEBD

Accessibility & contrast

On white

1.50
#EBD34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#EBD34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD34F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD34F#FFFFFF#000000##000000
##EBD34F1.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3E
Deuteranopia (green-blind)
#EDD656
Tritanopia (blue-blind)
#FDC4B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ebd34f;
/* rgb */ color: rgb(235, 211, 79);
/* oklch */ color: oklch(86.3% 0.150 98.9);
Tailwind
colors: {
  custom: {
    50: '#f5e087',
    500: '#ebd34f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd34f;
$custom-light: #f5e087;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd34f",
  "rgb": {
    "r": 235,
    "g": 211,
    "b": 79
  },
  "hsl": {
    "h": 50.769,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.86331,
    "c": 0.15001,
    "h": 98.9
  },
  "luminance": 0.64815
}

Semantic roles & 50–950 ramp

primary
#EBD34F
secondary
#3144AD
accent
#2ADC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD34F

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

Preview Lab → · Contrast checker → · Palette generator →

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