#EBD98A#EBD98A

#EBD98A is a very light, moderate yellow. Relative luminance 0.691; OKLCH L 88.3% C 0.101 H 96.9°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#EBD98A
RGBrgb(235, 217, 138)
HSLhsl(49, 71%, 73%)
HSVhsv(49, 41%, 92%)
CMYKcmyk(0%, 7.7%, 41.3%, 7.8%)
CIE-LABlab(86.57, -4.62, 41.11)
CIE-LCHlch(86.57, 41.37, 96.41°)
OKLaboklab(88.26% -0.0121 0.1003)
OKLCHoklch(88.26% 0.101 96.9)
XYZxyz(63.6627, 69.1250, 34.0288)
Luminance0.6912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD98A #8A9CEB
analogous
#EBA88A #EBD98A #CCEB8A
triadic
#EBD98A #8AEBD9 #D98AEB
tetradic
#EBD98A #8AEBA8 #8A9CEB #EB8ACC
square
#EBD98A #8AEBA8 #8A9CEB #EB8ACC
split-complementary
#EBD98A #8ACCEB #A88AEB
monochromatic
#D6B525 #E2C856 #EBD98A #F4EABE #FBF7E5

Accessibility & contrast

On white

1.42
#EBD98A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#EBD98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD98A
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD98A#FFFFFF#000000##000000
##EBD98A1.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D584
Deuteranopia (green-blind)
#EDDB8D
Tritanopia (blue-blind)
#F9CEC5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ebd98a;
/* rgb */ color: rgb(235, 217, 138);
/* oklch */ color: oklch(88.3% 0.101 96.9);
Tailwind
colors: {
  custom: {
    50: '#f3e4ad',
    500: '#ebd98a',
    950: '#000000',
  },
}
SCSS
$custom: #ebd98a;
$custom-light: #f3e4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd98a",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 138
  },
  "hsl": {
    "h": 48.866,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.88261,
    "c": 0.10103,
    "h": 96.9
  },
  "luminance": 0.69123
}

Semantic roles & 50–950 ramp

primary
#EBD98A
secondary
#5469C5
accent
#36D313
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBD98A

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

Preview Lab → · Contrast checker → · Palette generator →

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