#EBD95C#EBD95C

#EBD95C is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.7% C 0.145 H 101.1°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#EBD95C
RGBrgb(235, 217, 92)
HSLhsl(52, 78%, 64%)
HSVhsv(52, 61%, 92%)
CMYKcmyk(0%, 7.7%, 60.9%, 7.8%)
CIE-LABlab(86.04, -8.51, 62.15)
CIE-LCHlch(86.04, 62.73, 97.80°)
OKLaboklab(87.67% -0.028 0.1424)
OKLCHoklch(87.67% 0.145 101.1)
XYZxyz(61.0079, 68.0631, 20.0470)
Luminance0.6806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD95C #5C6EEB
analogous
#EB925C #EBD95C #B5EB5C
triadic
#EBD95C #5CEBD9 #D95CEB
tetradic
#EBD95C #5CEB92 #5C6EEB #EB5CB5
square
#EBD95C #5CEB92 #5C6EEB #EB5CB5
split-complementary
#EBD95C #5CB5EB #925CEB
monochromatic
#B6A216 #E4CC25 #EBD95C #F2E693 #F8F2C9

Accessibility & contrast

On white

1.44
#EBD95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#EBD95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD95C
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD95C#FFFFFF#000000##000000
##EBD95C1.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34E
Deuteranopia (green-blind)
#F1DA63
Tritanopia (blue-blind)
#FCCBBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd95c;
/* rgb */ color: rgb(235, 217, 92);
/* oklch */ color: oklch(87.7% 0.145 101.1);
Tailwind
colors: {
  custom: {
    50: '#f4e48f',
    500: '#ebd95c',
    950: '#000000',
  },
}
SCSS
$custom: #ebd95c;
$custom-light: #f4e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd95c",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 52.448,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87672,
    "c": 0.1451,
    "h": 101.1
  },
  "luminance": 0.68061
}

Semantic roles & 50–950 ramp

primary
#EBD95C
secondary
#3545B6
accent
#25DA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD95C

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

Preview Lab → · Contrast checker → · Palette generator →

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