#EBCD5F#EBCD5F

#EBCD5F is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.3% C 0.133 H 94.1°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#EBCD5F
RGBrgb(235, 205, 95)
HSLhsl(47, 78%, 65%)
HSVhsv(47, 60%, 92%)
CMYKcmyk(0%, 12.8%, 59.6%, 7.8%)
CIE-LABlab(83.00, -2.21, 57.45)
CIE-LCHlch(83.00, 57.50, 92.21°)
OKLaboklab(85.27% -0.0096 0.1327)
OKLCHoklch(85.27% 0.133 94.1)
XYZxyz(58.1603, 62.1539, 19.7577)
Luminance0.6215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCD5F #5F7DEB
analogous
#EB875F #EBCD5F #C3EB5F
triadic
#EBCD5F #5FEBCD #CD5FEB
tetradic
#EBCD5F #5FEB87 #5F7DEB #EB5FC3
square
#EBCD5F #5FEB87 #5F7DEB #EB5FC3
split-complementary
#EBCD5F #5FC3EB #875FEB
monochromatic
#B99617 #E4BC29 #EBCD5F #F2DE95 #F9EFCC

Accessibility & contrast

On white

1.56
#EBCD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#EBCD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCD5F
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCD5F#FFFFFF#000000##000000
##EBCD5F1.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C954
Deuteranopia (green-blind)
#E8D364
Tritanopia (blue-blind)
#FCBFB5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ebcd5f;
/* rgb */ color: rgb(235, 205, 95);
/* oklch */ color: oklch(85.3% 0.133 94.1);
Tailwind
colors: {
  custom: {
    50: '#f4dc90',
    500: '#ebcd5f',
    950: '#000000',
  },
}
SCSS
$custom: #ebcd5f;
$custom-light: #f4dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcd5f",
  "rgb": {
    "r": 235,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 47.143,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85271,
    "c": 0.13308,
    "h": 94.1
  },
  "luminance": 0.62151
}

Semantic roles & 50–950 ramp

primary
#EBCD5F
secondary
#3652B8
accent
#38DA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBCD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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