#EBE98E#EBE98E

#EBE98E is a very light, moderate yellow. Relative luminance 0.779; OKLCH L 91.6% C 0.113 H 107.3°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#EBE98E
RGBrgb(235, 233, 142)
HSLhsl(59, 70%, 74%)
HSVhsv(59, 40%, 92%)
CMYKcmyk(0%, 0.9%, 39.6%, 7.8%)
CIE-LABlab(90.73, -12.24, 44.42)
CIE-LCHlch(90.73, 46.08, 105.40°)
OKLaboklab(91.58% -0.0337 0.108)
OKLCHoklch(91.58% 0.113 107.3)
XYZxyz(68.2834, 77.8945, 37.0240)
Luminance0.7789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE98E #8E90EB
analogous
#EBBB8E #EBE98E #BFEB8E
triadic
#EBE98E #8EEBE9 #E98EEB
tetradic
#EBE98E #8EEBBB #8E90EB #EB8EBF
square
#EBE98E #8EEBBB #8E90EB #EB8EBF
split-complementary
#EBE98E #8EBFEB #BB8EEB
monochromatic
#D8D426 #E2DF5A #EBE98E #F4F3C2 #FAFAE5

Accessibility & contrast

On white

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

On black

16.58
#EBE98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE98E
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE98E#FFFFFF#000000##000000
##EBE98E1.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E287
Deuteranopia (green-blind)
#F9E692
Tritanopia (blue-blind)
#F7DED3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ebe98e;
/* rgb */ color: rgb(235, 233, 142);
/* oklch */ color: oklch(91.6% 0.113 107.3);
Tailwind
colors: {
  custom: {
    50: '#f3efb0',
    500: '#ebe98e',
    950: '#000000',
  },
}
SCSS
$custom: #ebe98e;
$custom-light: #f3efb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe98e",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 142
  },
  "hsl": {
    "h": 58.71,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91582,
    "c": 0.11318,
    "h": 107.3
  },
  "luminance": 0.77893
}

Semantic roles & 50–950 ramp

primary
#EBE98E
secondary
#585AC6
accent
#18D214
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171611
muted
#858581

Preview Lab

Preview with #EBE98E

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

Preview Lab → · Contrast checker → · Palette generator →

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