#EBD460#EBD460

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

Color values

HEX#EBD460
RGBrgb(235, 212, 96)
HSLhsl(50, 78%, 65%)
HSVhsv(50, 59%, 92%)
CMYKcmyk(0%, 9.8%, 59.1%, 7.8%)
CIE-LABlab(84.79, -5.72, 59.02)
CIE-LCHlch(84.79, 59.29, 95.53°)
OKLaboklab(86.7% -0.0196 0.1362)
OKLCHoklch(86.7% 0.138 98.2)
XYZxyz(59.9181, 65.5963, 20.5693)
Luminance0.6559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD460 #6077EB
analogous
#EB8F60 #EBD460 #BDEB60
triadic
#EBD460 #60EBD4 #D460EB
tetradic
#EBD460 #60EB8F #6077EB #EB60BD
square
#EBD460 #60EB8F #6077EB #EB60BD
split-complementary
#EBD460 #60BDEB #8F60EB
monochromatic
#B99E17 #E4C52A #EBD460 #F2E396 #F9F1CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD460#FFFFFF#000000##000000
##EBD4601.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)
#E7CF54
Deuteranopia (green-blind)
#EDD766
Tritanopia (blue-blind)
#FCC6BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd460;
/* rgb */ color: rgb(235, 212, 96);
/* oklch */ color: oklch(86.7% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#f4e091',
    500: '#ebd460',
    950: '#000000',
  },
}
SCSS
$custom: #ebd460;
$custom-light: #f4e091;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd460",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 96
  },
  "hsl": {
    "h": 50.072,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86695,
    "c": 0.1376,
    "h": 98.2
  },
  "luminance": 0.65594
}

Semantic roles & 50–950 ramp

primary
#EBD460
secondary
#374CB9
accent
#2EDA0C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD460

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

Preview Lab → · Contrast checker → · Palette generator →

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