#EBCE5C#EBCE5C

#EBCE5C is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.4% C 0.136 H 95.1°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#EBCE5C
RGBrgb(235, 206, 92)
HSLhsl(48, 78%, 64%)
HSVhsv(48, 61%, 92%)
CMYKcmyk(0%, 12.3%, 60.9%, 7.8%)
CIE-LABlab(83.22, -2.93, 59.05)
CIE-LCHlch(83.22, 59.12, 92.84°)
OKLaboklab(85.44% -0.012 0.1358)
OKLCHoklch(85.44% 0.136 95.1)
XYZxyz(58.2666, 62.5803, 19.1333)
Luminance0.6258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCE5C #5C79EB
analogous
#EB875C #EBCE5C #C1EB5C
triadic
#EBCE5C #5CEBCE #CE5CEB
tetradic
#EBCE5C #5CEB87 #5C79EB #EB5CC1
square
#EBCE5C #5CEB87 #5C79EB #EB5CC1
split-complementary
#EBCE5C #5CC1EB #875CEB
monochromatic
#B69616 #E4BE25 #EBCE5C #F2DE93 #F8EFC9

Accessibility & contrast

On white

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

On black

13.52
#EBCE5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCE5C
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCE5C#FFFFFF#000000##000000
##EBCE5C1.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA50
Deuteranopia (green-blind)
#E9D361
Tritanopia (blue-blind)
#FCC0B5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ebce5c;
/* rgb */ color: rgb(235, 206, 92);
/* oklch */ color: oklch(85.4% 0.136 95.1);
Tailwind
colors: {
  custom: {
    50: '#f5dc8e',
    500: '#ebce5c',
    950: '#000000',
  },
}
SCSS
$custom: #ebce5c;
$custom-light: #f5dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebce5c",
  "rgb": {
    "r": 235,
    "g": 206,
    "b": 92
  },
  "hsl": {
    "h": 47.832,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85441,
    "c": 0.13628,
    "h": 95.1
  },
  "luminance": 0.62577
}

Semantic roles & 50–950 ramp

primary
#EBCE5C
secondary
#354FB6
accent
#35DA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBCE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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