#EBEB8A#EBEB8A

#EBEB8A is a very light, moderate yellow. Relative luminance 0.789; OKLCH L 91.9% C 0.120 H 108.5°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#EBEB8A
RGBrgb(235, 235, 138)
HSLhsl(60, 71%, 73%)
HSVhsv(60, 41%, 92%)
CMYKcmyk(0%, 0%, 41.3%, 7.8%)
CIE-LABlab(91.20, -13.64, 46.96)
CIE-LCHlch(91.20, 48.90, 106.20°)
OKLaboklab(91.93% -0.0381 0.1135)
OKLCHoklch(91.93% 0.12 108.5)
XYZxyz(68.5578, 78.9153, 35.6605)
Luminance0.7891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEB8A #8A8AEB
analogous
#EBBA8A #EBEB8A #BAEB8A
triadic
#EBEB8A #8AEBEB #EB8AEB
tetradic
#EBEB8A #8AEBBA #8A8AEB #EB8ABA
square
#EBEB8A #8AEBBA #8A8AEB #EB8ABA
split-complementary
#EBEB8A #8ABAEB #BA8AEB
monochromatic
#D6D625 #E2E256 #EBEB8A #F4F4BE #FBFBE5

Accessibility & contrast

On white

1.25
#EBEB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.78
#EBEB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEB8A
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEB8A#FFFFFF#000000##000000
##EBEB8A1.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E482
Deuteranopia (green-blind)
#FBE88E
Tritanopia (blue-blind)
#F7E0D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ebeb8a;
/* rgb */ color: rgb(235, 235, 138);
/* oklch */ color: oklch(91.9% 0.120 108.5);
Tailwind
colors: {
  custom: {
    50: '#f3f1ae',
    500: '#ebeb8a',
    950: '#000000',
  },
}
SCSS
$custom: #ebeb8a;
$custom-light: #f3f1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ebeb8a",
  "rgb": {
    "r": 235,
    "g": 235,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91934,
    "c": 0.11975,
    "h": 108.5
  },
  "luminance": 0.78914
}

Semantic roles & 50–950 ramp

primary
#EBEB8A
secondary
#5454C5
accent
#13D313
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EBEB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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