#EBE97F#EBE97F

#EBE97F is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 91.4% C 0.129 H 107.7°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#EBE97F
RGBrgb(235, 233, 127)
HSLhsl(59, 73%, 71%)
HSVhsv(59, 46%, 92%)
CMYKcmyk(0%, 0.9%, 46%, 7.8%)
CIE-LABlab(90.54, -13.72, 51.43)
CIE-LCHlch(90.54, 53.23, 104.94°)
OKLaboklab(91.37% -0.0393 0.1228)
OKLCHoklch(91.37% 0.129 107.7)
XYZxyz(67.2320, 77.4739, 31.4869)
Luminance0.7747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE97F #7F81EB
analogous
#EBB37F #EBE97F #B7EB7F
triadic
#EBE97F #7FEBE9 #E97FEB
tetradic
#EBE97F #7FEBB3 #7F81EB #EB7FB7
square
#EBE97F #7FEBB3 #7F81EB #EB7FB7
split-complementary
#EBE97F #7FB7EB #B37FEB
monochromatic
#CFCC20 #E3E04A #EBE97F #F3F2B4 #FBFAE5

Accessibility & contrast

On white

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

On black

16.49
#EBE97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE97F
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE97F#FFFFFF#000000##000000
##EBE97F1.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E276
Deuteranopia (green-blind)
#FAE684
Tritanopia (blue-blind)
#F8DDD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ebe97f;
/* rgb */ color: rgb(235, 233, 127);
/* oklch */ color: oklch(91.4% 0.129 107.7);
Tailwind
colors: {
  custom: {
    50: '#f3efa6',
    500: '#ebe97f',
    950: '#000000',
  },
}
SCSS
$custom: #ebe97f;
$custom-light: #f3efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe97f",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 58.889,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91367,
    "c": 0.12889,
    "h": 107.7
  },
  "luminance": 0.77472
}

Semantic roles & 50–950 ramp

primary
#EBE97F
secondary
#4A4CC4
accent
#14D510
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EBE97F

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

Preview Lab → · Contrast checker → · Palette generator →

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