#EBCB5F#EBCB5F

#EBCB5F is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.9% C 0.132 H 92.9°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#EBCB5F
RGBrgb(235, 203, 95)
HSLhsl(46, 78%, 65%)
HSVhsv(46, 60%, 92%)
CMYKcmyk(0%, 13.6%, 59.6%, 7.8%)
CIE-LABlab(82.49, -1.19, 56.88)
CIE-LCHlch(82.49, 56.89, 91.20°)
OKLaboklab(84.87% -0.0067 0.1315)
OKLCHoklch(84.87% 0.132 92.9)
XYZxyz(57.6850, 61.2032, 19.5992)
Luminance0.6120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCB5F #5F7FEB
analogous
#EB855F #EBCB5F #C5EB5F
triadic
#EBCB5F #5FEBCB #CB5FEB
tetradic
#EBCB5F #5FEB85 #5F7FEB #EB5FC5
square
#EBCB5F #5FEB85 #5F7FEB #EB5FC5
split-complementary
#EBCB5F #5FC5EB #855FEB
monochromatic
#B99417 #E4B929 #EBCB5F #F2DD95 #F9EECC

Accessibility & contrast

On white

1.59
#EBCB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#EBCB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCB5F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCB5F#FFFFFF#000000##000000
##EBCB5F1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC854
Deuteranopia (green-blind)
#E6D164
Tritanopia (blue-blind)
#FCBDB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ebcb5f;
/* rgb */ color: rgb(235, 203, 95);
/* oklch */ color: oklch(84.9% 0.132 92.9);
Tailwind
colors: {
  custom: {
    50: '#f5da90',
    500: '#ebcb5f',
    950: '#000000',
  },
}
SCSS
$custom: #ebcb5f;
$custom-light: #f5da90;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcb5f",
  "rgb": {
    "r": 235,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 46.286,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.84871,
    "c": 0.13167,
    "h": 92.9
  },
  "luminance": 0.612
}

Semantic roles & 50–950 ramp

primary
#EBCB5F
secondary
#3654B8
accent
#3BDA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBCB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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