#EBEB7D#EBEB7D

#EBEB7D is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.8% C 0.133 H 108.8°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#EBEB7D
RGBrgb(235, 235, 125)
HSLhsl(60, 73%, 71%)
HSVhsv(60, 47%, 92%)
CMYKcmyk(0%, 0%, 46.8%, 7.8%)
CIE-LABlab(91.04, -14.89, 52.98)
CIE-LCHlch(91.04, 55.03, 105.70°)
OKLaboklab(91.75% -0.0428 0.126)
OKLCHoklch(91.75% 0.133 108.8)
XYZxyz(67.6724, 78.5611, 30.9970)
Luminance0.7856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEB7D #7D7DEB
analogous
#EBB47D #EBEB7D #B4EB7D
triadic
#EBEB7D #7DEBEB #EB7DEB
tetradic
#EBEB7D #7DEBB4 #7D7DEB #EB7DB4
square
#EBEB7D #7DEBB4 #7D7DEB #EB7DB4
split-complementary
#EBEB7D #7DB4EB #B47DEB
monochromatic
#CECE20 #E3E348 #EBEB7D #F3F3B2 #FBFBE4

Accessibility & contrast

On white

1.26
#EBEB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#EBEB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEB7D
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEB7D#FFFFFF#000000##000000
##EBEB7D1.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE373
Deuteranopia (green-blind)
#FCE782
Tritanopia (blue-blind)
#F8DFD1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ebeb7d;
/* rgb */ color: rgb(235, 235, 125);
/* oklch */ color: oklch(91.8% 0.133 108.8);
Tailwind
colors: {
  custom: {
    50: '#f3f1a5',
    500: '#ebeb7d',
    950: '#000000',
  },
}
SCSS
$custom: #ebeb7d;
$custom-light: #f3f1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebeb7d",
  "rgb": {
    "r": 235,
    "g": 235,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91754,
    "c": 0.13308,
    "h": 108.8
  },
  "luminance": 0.78559
}

Semantic roles & 50–950 ramp

primary
#EBEB7D
secondary
#4848C4
accent
#10D510
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EBEB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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