#EBE952#EBE952

#EBE952 is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 90.9% C 0.167 H 108.6°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#EBE952
RGBrgb(235, 233, 82)
HSLhsl(59, 79%, 62%)
HSVhsv(59, 65%, 92%)
CMYKcmyk(0%, 0.9%, 65.1%, 7.8%)
CIE-LABlab(90.11, -17.04, 70.54)
CIE-LCHlch(90.11, 72.57, 103.58°)
OKLaboklab(90.89% -0.0533 0.1587)
OKLCHoklch(90.89% 0.167 108.6)
XYZxyz(64.9251, 76.5511, 19.3368)
Luminance0.7655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE952 #5254EB
analogous
#EB9D52 #EBE952 #A0EB52
triadic
#EBE952 #52EBE9 #E952EB
tetradic
#EBE952 #52EB9D #5254EB #EB52A0
square
#EBE952 #52EB9D #5254EB #EB52A0
split-complementary
#EBE952 #52A0EB #9D52EB
monochromatic
#AEAC14 #E5E21B #EBE952 #F1F089 #F8F7C0

Accessibility & contrast

On white

1.29
#EBE952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.31
#EBE952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE952
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE952#FFFFFF#000000##000000
##EBE9521.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE03D
Deuteranopia (green-blind)
#FEE55C
Tritanopia (blue-blind)
#FBDBCA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe952;
/* rgb */ color: rgb(235, 233, 82);
/* oklch */ color: oklch(90.9% 0.167 108.6);
Tailwind
colors: {
  custom: {
    50: '#f5ef8a',
    500: '#ebe952',
    950: '#000000',
  },
}
SCSS
$custom: #ebe952;
$custom-light: #f5ef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe952",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 59.216,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.90891,
    "c": 0.16738,
    "h": 108.6
  },
  "luminance": 0.76549
}

Semantic roles & 50–950 ramp

primary
#EBE952
secondary
#3234AF
accent
#0DDC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #EBE952

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

Preview Lab → · Contrast checker → · Palette generator →

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