#EBD45F#EBD45F

#EBD45F is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.138 H 98.3°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#EBD45F
RGBrgb(235, 212, 95)
HSLhsl(50, 78%, 65%)
HSVhsv(50, 60%, 92%)
CMYKcmyk(0%, 9.8%, 59.6%, 7.8%)
CIE-LABlab(84.78, -5.79, 59.45)
CIE-LCHlch(84.78, 59.73, 95.56°)
OKLaboklab(86.68% -0.0199 0.137)
OKLCHoklch(86.68% 0.138 98.3)
XYZxyz(59.8724, 65.5780, 20.3283)
Luminance0.6558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD45F #5F76EB
analogous
#EB8E5F #EBD45F #BCEB5F
triadic
#EBD45F #5FEBD4 #D45FEB
tetradic
#EBD45F #5FEB8E #5F76EB #EB5FBC
square
#EBD45F #5FEB8E #5F76EB #EB5FBC
split-complementary
#EBD45F #5FBCEB #8E5FEB
monochromatic
#B99E17 #E4C529 #EBD45F #F2E395 #F9F1CC

Accessibility & contrast

On white

1.49
#EBD45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#EBD45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD45F
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD45F#FFFFFF#000000##000000
##EBD45F1.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF53
Deuteranopia (green-blind)
#EDD765
Tritanopia (blue-blind)
#FCC6BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd45f;
/* rgb */ color: rgb(235, 212, 95);
/* oklch */ color: oklch(86.7% 0.138 98.3);
Tailwind
colors: {
  custom: {
    50: '#f4e090',
    500: '#ebd45f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd45f;
$custom-light: #f4e090;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd45f",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 50.143,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86684,
    "c": 0.13844,
    "h": 98.3
  },
  "luminance": 0.65575
}

Semantic roles & 50–950 ramp

primary
#EBD45F
secondary
#364CB8
accent
#2DDA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD45F

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

Preview Lab → · Contrast checker → · Palette generator →

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