#EBCA5F#EBCA5F

#EBCA5F is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.7% C 0.131 H 92.3°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#EBCA5F
RGBrgb(235, 202, 95)
HSLhsl(46, 78%, 65%)
HSVhsv(46, 60%, 92%)
CMYKcmyk(0%, 14%, 59.6%, 7.8%)
CIE-LABlab(82.23, -0.67, 56.60)
CIE-LCHlch(82.23, 56.60, 90.68°)
OKLaboklab(84.67% -0.0052 0.1309)
OKLCHoklch(84.67% 0.131 92.3)
XYZxyz(57.4496, 60.7324, 19.5207)
Luminance0.6073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCA5F #5F80EB
analogous
#EB845F #EBCA5F #C6EB5F
triadic
#EBCA5F #5FEBCA #CA5FEB
tetradic
#EBCA5F #5FEB84 #5F80EB #EB5FC6
square
#EBCA5F #5FEB84 #5F80EB #EB5FC6
split-complementary
#EBCA5F #5FC6EB #845FEB
monochromatic
#B99217 #E4B829 #EBCA5F #F2DC95 #F9EECC

Accessibility & contrast

On white

1.60
#EBCA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#EBCA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCA5F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCA5F#FFFFFF#000000##000000
##EBCA5F1.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC754
Deuteranopia (green-blind)
#E5D164
Tritanopia (blue-blind)
#FCBCB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ebca5f;
/* rgb */ color: rgb(235, 202, 95);
/* oklch */ color: oklch(84.7% 0.131 92.3);
Tailwind
colors: {
  custom: {
    50: '#f5d990',
    500: '#ebca5f',
    950: '#000000',
  },
}
SCSS
$custom: #ebca5f;
$custom-light: #f5d990;
$custom-dark: #000000;
JSON
{
  "hex": "#ebca5f",
  "rgb": {
    "r": 235,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 45.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.84671,
    "c": 0.13099,
    "h": 92.3
  },
  "luminance": 0.60729
}

Semantic roles & 50–950 ramp

primary
#EBCA5F
secondary
#3655B8
accent
#3CDA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBCA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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