#EBCE5F#EBCE5F

#EBCE5F is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.5% C 0.134 H 94.8°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#EBCE5F
RGBrgb(235, 206, 95)
HSLhsl(48, 78%, 65%)
HSVhsv(48, 60%, 92%)
CMYKcmyk(0%, 12.3%, 59.6%, 7.8%)
CIE-LABlab(83.25, -2.73, 57.74)
CIE-LCHlch(83.25, 57.80, 92.70°)
OKLaboklab(85.47% -0.0111 0.1333)
OKLCHoklch(85.47% 0.134 94.8)
XYZxyz(58.4003, 62.6338, 19.8377)
Luminance0.6263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCE5F #5F7CEB
analogous
#EB885F #EBCE5F #C2EB5F
triadic
#EBCE5F #5FEBCE #CE5FEB
tetradic
#EBCE5F #5FEB88 #5F7CEB #EB5FC2
square
#EBCE5F #5FEB88 #5F7CEB #EB5FC2
split-complementary
#EBCE5F #5FC2EB #885FEB
monochromatic
#B99717 #E4BD29 #EBCE5F #F2DF95 #F9EFCC

Accessibility & contrast

On white

1.55
#EBCE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#EBCE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCE5F
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCE5F#FFFFFF#000000##000000
##EBCE5F1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebce5f;
/* rgb */ color: rgb(235, 206, 95);
/* oklch */ color: oklch(85.5% 0.134 94.8);
Tailwind
colors: {
  custom: {
    50: '#f4dc90',
    500: '#ebce5f',
    950: '#000000',
  },
}
SCSS
$custom: #ebce5f;
$custom-light: #f4dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#ebce5f",
  "rgb": {
    "r": 235,
    "g": 206,
    "b": 95
  },
  "hsl": {
    "h": 47.571,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85472,
    "c": 0.1338,
    "h": 94.8
  },
  "luminance": 0.62631
}

Semantic roles & 50–950 ramp

primary
#EBCE5F
secondary
#3651B8
accent
#36DA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBCE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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