#EBE87F#EBE87F

#EBE87F is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.2% C 0.128 H 107.2°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#EBE87F
RGBrgb(235, 232, 127)
HSLhsl(58, 73%, 71%)
HSVhsv(58, 46%, 92%)
CMYKcmyk(0%, 1.3%, 46%, 7.8%)
CIE-LABlab(90.28, -13.23, 51.12)
CIE-LCHlch(90.28, 52.80, 104.51°)
OKLaboklab(91.16% -0.0379 0.1221)
OKLCHoklch(91.16% 0.128 107.2)
XYZxyz(66.9498, 76.9094, 31.3928)
Luminance0.7691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE87F #7F82EB
analogous
#EBB27F #EBE87F #B8EB7F
triadic
#EBE87F #7FEBE8 #E87FEB
tetradic
#EBE87F #7FEBB2 #7F82EB #EB7FB8
square
#EBE87F #7FEBB2 #7F82EB #EB7FB8
split-complementary
#EBE87F #7FB8EB #B27FEB
monochromatic
#CFCA20 #E3DE4A #EBE87F #F3F2B4 #FBFAE5

Accessibility & contrast

On white

1.28
#EBE87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#EBE87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE87F
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE87F#FFFFFF#000000##000000
##EBE87F1.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E176
Deuteranopia (green-blind)
#F9E584
Tritanopia (blue-blind)
#F9DCCF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe87f;
/* rgb */ color: rgb(235, 232, 127);
/* oklch */ color: oklch(91.2% 0.128 107.2);
Tailwind
colors: {
  custom: {
    50: '#f3efa6',
    500: '#ebe87f',
    950: '#000000',
  },
}
SCSS
$custom: #ebe87f;
$custom-light: #f3efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe87f",
  "rgb": {
    "r": 235,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 58.333,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.9116,
    "c": 0.1278,
    "h": 107.2
  },
  "luminance": 0.76908
}

Semantic roles & 50–950 ramp

primary
#EBE87F
secondary
#4A4DC4
accent
#16D510
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EBE87F

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

Preview Lab → · Contrast checker → · Palette generator →

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