#EBC952#EBC952

#EBC952 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.3% C 0.141 H 93.1°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#EBC952
RGBrgb(235, 201, 82)
HSLhsl(47, 79%, 62%)
HSVhsv(47, 65%, 92%)
CMYKcmyk(0%, 14.5%, 65.1%, 7.8%)
CIE-LABlab(81.86, -0.99, 61.92)
CIE-LCHlch(81.86, 61.93, 90.91°)
OKLaboklab(84.34% -0.0076 0.1404)
OKLCHoklch(84.34% 0.141 93.1)
XYZxyz(56.6733, 60.0477, 16.5863)
Luminance0.6005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC952 #5274EB
analogous
#EB7D52 #EBC952 #C0EB52
triadic
#EBC952 #52EBC9 #C952EB
tetradic
#EBC952 #52EB7D #5274EB #EB52C0
square
#EBC952 #52EB7D #5274EB #EB52C0
split-complementary
#EBC952 #52C0EB #7D52EB
monochromatic
#AE8C14 #E5B81B #EBC952 #F1DA89 #F8EBC0

Accessibility & contrast

On white

1.61
#EBC952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#EBC952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC952
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC952#FFFFFF#000000##000000
##EBC9521.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC644
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#FDBAB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ebc952;
/* rgb */ color: rgb(235, 201, 82);
/* oklch */ color: oklch(84.3% 0.141 93.1);
Tailwind
colors: {
  custom: {
    50: '#f5d988',
    500: '#ebc952',
    950: '#000000',
  },
}
SCSS
$custom: #ebc952;
$custom-light: #f5d988;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc952",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 46.667,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8434,
    "c": 0.14064,
    "h": 93.1
  },
  "luminance": 0.60045
}

Semantic roles & 50–950 ramp

primary
#EBC952
secondary
#324EAF
accent
#39DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC952

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

Preview Lab → · Contrast checker → · Palette generator →

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