#EBD95E#EBD95E

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

Color values

HEX#EBD95E
RGBrgb(235, 217, 94)
HSLhsl(52, 78%, 65%)
HSVhsv(52, 60%, 92%)
CMYKcmyk(0%, 7.7%, 60%, 7.8%)
CIE-LABlab(86.06, -8.38, 61.30)
CIE-LCHlch(86.06, 61.87, 97.78°)
OKLaboklab(87.69% -0.0274 0.1408)
OKLCHoklch(87.69% 0.143 101)
XYZxyz(61.0965, 68.0985, 20.5136)
Luminance0.6810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD95E #5E70EB
analogous
#EB925E #EBD95E #B7EB5E
triadic
#EBD95E #5EEBD9 #D95EEB
tetradic
#EBD95E #5EEB92 #5E70EB #EB5EB7
square
#EBD95E #5EEB92 #5E70EB #EB5EB7
split-complementary
#EBD95E #5EB7EB #925EEB
monochromatic
#B8A317 #E4CC28 #EBD95E #F2E694 #F9F3CB

Accessibility & contrast

On white

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

On black

14.62
#EBD95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD95E
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD95E#FFFFFF#000000##000000
##EBD95E1.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebd95e;
/* rgb */ color: rgb(235, 217, 94);
/* oklch */ color: oklch(87.7% 0.143 101.0);
Tailwind
colors: {
  custom: {
    50: '#f4e490',
    500: '#ebd95e',
    950: '#000000',
  },
}
SCSS
$custom: #ebd95e;
$custom-light: #f4e490;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd95e",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 52.34,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87692,
    "c": 0.14347,
    "h": 101
  },
  "luminance": 0.68096
}

Semantic roles & 50–950 ramp

primary
#EBD95E
secondary
#3646B7
accent
#26DA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD95E

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

Preview Lab → · Contrast checker → · Palette generator →

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