#EBC95F#EBC95F

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

Color values

HEX#EBC95F
RGBrgb(235, 201, 95)
HSLhsl(45, 78%, 65%)
HSVhsv(45, 60%, 92%)
CMYKcmyk(0%, 14.5%, 59.6%, 7.8%)
CIE-LABlab(81.98, -0.16, 56.31)
CIE-LCHlch(81.98, 56.31, 90.16°)
OKLaboklab(84.47% -0.0037 0.1303)
OKLCHoklch(84.47% 0.13 91.6)
XYZxyz(57.2157, 60.2647, 19.4428)
Luminance0.6026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC95F #5F81EB
analogous
#EB835F #EBC95F #C7EB5F
triadic
#EBC95F #5FEBC9 #C95FEB
tetradic
#EBC95F #5FEB83 #5F81EB #EB5FC7
square
#EBC95F #5FEB83 #5F81EB #EB5FC7
split-complementary
#EBC95F #5FC7EB #835FEB
monochromatic
#B99117 #E4B729 #EBC95F #F2DB95 #F9EECC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBC95F#FFFFFF#000000##000000
##EBC95F1.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)
#DCC654
Deuteranopia (green-blind)
#E5D064
Tritanopia (blue-blind)
#FCBBB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebc95f;
/* rgb */ color: rgb(235, 201, 95);
/* oklch */ color: oklch(84.5% 0.130 91.6);
Tailwind
colors: {
  custom: {
    50: '#f5d990',
    500: '#ebc95f',
    950: '#000000',
  },
}
SCSS
$custom: #ebc95f;
$custom-light: #f5d990;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc95f",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 45.429,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.84471,
    "c": 0.13033,
    "h": 91.6
  },
  "luminance": 0.60262
}

Semantic roles & 50–950 ramp

primary
#EBC95F
secondary
#3656B8
accent
#3EDA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBC95F

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

Preview Lab → · Contrast checker → · Palette generator →

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