#EBC95C#EBC95C

#EBC95C is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.4% C 0.133 H 92.0°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#EBC95C
RGBrgb(235, 201, 92)
HSLhsl(46, 78%, 64%)
HSVhsv(46, 61%, 92%)
CMYKcmyk(0%, 14.5%, 60.9%, 7.8%)
CIE-LABlab(81.95, -0.36, 57.64)
CIE-LCHlch(81.95, 57.64, 90.36°)
OKLaboklab(84.44% -0.0046 0.1327)
OKLCHoklch(84.44% 0.133 92)
XYZxyz(57.0820, 60.2112, 18.7384)
Luminance0.6021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC95C #5C7EEB
analogous
#EB825C #EBC95C #C6EB5C
triadic
#EBC95C #5CEBC9 #C95CEB
tetradic
#EBC95C #5CEB82 #5C7EEB #EB5CC6
square
#EBC95C #5CEB82 #5C7EEB #EB5CC6
split-complementary
#EBC95C #5CC6EB #825CEB
monochromatic
#B69016 #E4B725 #EBC95C #F2DB93 #F8EDC9

Accessibility & contrast

On white

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

On black

13.04
#EBC95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC95C
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC95C#FFFFFF#000000##000000
##EBC95C1.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC651
Deuteranopia (green-blind)
#E5D061
Tritanopia (blue-blind)
#FDBBB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebc95c;
/* rgb */ color: rgb(235, 201, 92);
/* oklch */ color: oklch(84.4% 0.133 92.0);
Tailwind
colors: {
  custom: {
    50: '#f5d98e',
    500: '#ebc95c',
    950: '#000000',
  },
}
SCSS
$custom: #ebc95c;
$custom-light: #f5d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc95c",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 92
  },
  "hsl": {
    "h": 45.734,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84439,
    "c": 0.13282,
    "h": 92
  },
  "luminance": 0.60208
}

Semantic roles & 50–950 ramp

primary
#EBC95C
secondary
#3554B6
accent
#3CDA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBC95C

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

Preview Lab → · Contrast checker → · Palette generator →

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