#EBE97D#EBE97D

#EBE97D is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.3% C 0.131 H 107.8°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#EBE97D
RGBrgb(235, 233, 125)
HSLhsl(59, 73%, 71%)
HSVhsv(59, 47%, 92%)
CMYKcmyk(0%, 0.9%, 46.8%, 7.8%)
CIE-LABlab(90.52, -13.90, 52.35)
CIE-LCHlch(90.52, 54.16, 104.87°)
OKLaboklab(91.34% -0.04 0.1246)
OKLCHoklch(91.34% 0.131 107.8)
XYZxyz(67.1030, 77.4223, 30.8072)
Luminance0.7742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE97D #7D7FEB
analogous
#EBB27D #EBE97D #B6EB7D
triadic
#EBE97D #7DEBE9 #E97DEB
tetradic
#EBE97D #7DEBB2 #7D7FEB #EB7DB6
square
#EBE97D #7DEBB2 #7D7FEB #EB7DB6
split-complementary
#EBE97D #7DB6EB #B27DEB
monochromatic
#CECB20 #E3E048 #EBE97D #F3F2B2 #FBFBE4

Accessibility & contrast

On white

1.27
#EBE97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#EBE97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE97D
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE97D#FFFFFF#000000##000000
##EBE97D1.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E174
Deuteranopia (green-blind)
#FAE682
Tritanopia (blue-blind)
#F9DDD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ebe97d;
/* rgb */ color: rgb(235, 233, 125);
/* oklch */ color: oklch(91.3% 0.131 107.8);
Tailwind
colors: {
  custom: {
    50: '#f3efa5',
    500: '#ebe97d',
    950: '#000000',
  },
}
SCSS
$custom: #ebe97d;
$custom-light: #f3efa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe97d",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 125
  },
  "hsl": {
    "h": 58.909,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9134,
    "c": 0.13089,
    "h": 107.8
  },
  "luminance": 0.77421
}

Semantic roles & 50–950 ramp

primary
#EBE97D
secondary
#484AC4
accent
#14D510
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EBE97D

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

Preview Lab → · Contrast checker → · Palette generator →

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