#EBE97E#EBE97E

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

Color values

HEX#EBE97E
RGBrgb(235, 233, 126)
HSLhsl(59, 73%, 71%)
HSVhsv(59, 46%, 92%)
CMYKcmyk(0%, 0.9%, 46.4%, 7.8%)
CIE-LABlab(90.53, -13.81, 51.89)
CIE-LCHlch(90.53, 53.70, 104.90°)
OKLaboklab(91.35% -0.0396 0.1237)
OKLCHoklch(91.35% 0.13 107.8)
XYZxyz(67.1672, 77.4480, 31.1454)
Luminance0.7745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE97E #7E80EB
analogous
#EBB27E #EBE97E #B6EB7E
triadic
#EBE97E #7EEBE9 #E97EEB
tetradic
#EBE97E #7EEBB2 #7E80EB #EB7EB6
square
#EBE97E #7EEBB2 #7E80EB #EB7EB6
split-complementary
#EBE97E #7EB6EB #B27EEB
monochromatic
#CFCB20 #E3E049 #EBE97E #F3F2B3 #FBFAE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBE97E#FFFFFF#000000##000000
##EBE97E1.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)
#F8E175
Deuteranopia (green-blind)
#FAE683
Tritanopia (blue-blind)
#F9DDD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ebe97e;
/* rgb */ color: rgb(235, 233, 126);
/* oklch */ color: oklch(91.4% 0.130 107.8);
Tailwind
colors: {
  custom: {
    50: '#f3efa5',
    500: '#ebe97e',
    950: '#000000',
  },
}
SCSS
$custom: #ebe97e;
$custom-light: #f3efa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe97e",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 58.899,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91353,
    "c": 0.12989,
    "h": 107.8
  },
  "luminance": 0.77446
}

Semantic roles & 50–950 ramp

primary
#EBE97E
secondary
#494BC4
accent
#14D510
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EBE97E

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

Preview Lab → · Contrast checker → · Palette generator →

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