#EBC95E#EBC95E

#EBC95E is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.5% C 0.131 H 91.7°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#EBC95E
RGBrgb(235, 201, 94)
HSLhsl(46, 78%, 65%)
HSVhsv(46, 60%, 92%)
CMYKcmyk(0%, 14.5%, 60%, 7.8%)
CIE-LABlab(81.97, -0.23, 56.75)
CIE-LCHlch(81.97, 56.76, 90.23°)
OKLaboklab(84.46% -0.004 0.1311)
OKLCHoklch(84.46% 0.131 91.7)
XYZxyz(57.1706, 60.2466, 19.2049)
Luminance0.6024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC95E #5E80EB
analogous
#EB835E #EBC95E #C7EB5E
triadic
#EBC95E #5EEBC9 #C95EEB
tetradic
#EBC95E #5EEB83 #5E80EB #EB5EC7
square
#EBC95E #5EEB83 #5E80EB #EB5EC7
split-complementary
#EBC95E #5EC7EB #835EEB
monochromatic
#B89117 #E4B728 #EBC95E #F2DB94 #F9EECB

Accessibility & contrast

On white

1.61
#EBC95E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#EBC95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC95E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC95E#FFFFFF#000000##000000
##EBC95E1.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC653
Deuteranopia (green-blind)
#E5D063
Tritanopia (blue-blind)
#FDBBB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebc95e;
/* rgb */ color: rgb(235, 201, 94);
/* oklch */ color: oklch(84.5% 0.131 91.7);
Tailwind
colors: {
  custom: {
    50: '#f5d98f',
    500: '#ebc95e',
    950: '#000000',
  },
}
SCSS
$custom: #ebc95e;
$custom-light: #f5d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc95e",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 45.532,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8446,
    "c": 0.13117,
    "h": 91.7
  },
  "luminance": 0.60244
}

Semantic roles & 50–950 ramp

primary
#EBC95E
secondary
#3655B7
accent
#3DDA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBC95E

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

Preview Lab → · Contrast checker → · Palette generator →

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