#EBD489#EBD489

#EBD489 is a very light, moderate yellow. Relative luminance 0.666; OKLCH L 87.2% C 0.098 H 93.0°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#EBD489
RGBrgb(235, 212, 137)
HSLhsl(46, 71%, 73%)
HSVhsv(46, 42%, 92%)
CMYKcmyk(0%, 9.8%, 41.7%, 7.8%)
CIE-LABlab(85.28, -2.17, 39.97)
CIE-LCHlch(85.28, 40.03, 93.11°)
OKLaboklab(87.24% -0.0051 0.0976)
OKLCHoklch(87.24% 0.098 93)
XYZxyz(62.3213, 66.5576, 33.2261)
Luminance0.6655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD489 #89A0EB
analogous
#EBA389 #EBD489 #D1EB89
triadic
#EBD489 #89EBD4 #D489EB
tetradic
#EBD489 #89EBA3 #89A0EB #EB89D1
square
#EBD489 #89EBA3 #89A0EB #EB89D1
split-complementary
#EBD489 #89D1EB #A389EB
monochromatic
#D5AC24 #E2C155 #EBD489 #F4E7BD #FBF5E5

Accessibility & contrast

On white

1.47
#EBD489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#EBD489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD489
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD489#FFFFFF#000000##000000
##EBD4891.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D183
Deuteranopia (green-blind)
#E9D88C
Tritanopia (blue-blind)
#F9C9C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ebd489;
/* rgb */ color: rgb(235, 212, 137);
/* oklch */ color: oklch(87.2% 0.098 93.0);
Tailwind
colors: {
  custom: {
    50: '#f3e1ac',
    500: '#ebd489',
    950: '#000000',
  },
}
SCSS
$custom: #ebd489;
$custom-light: #f3e1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd489",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 137
  },
  "hsl": {
    "h": 45.918,
    "s": 71.014,
    "l": 72.941
  },
  "oklch": {
    "l": 0.87241,
    "c": 0.09777,
    "h": 93
  },
  "luminance": 0.66555
}

Semantic roles & 50–950 ramp

primary
#EBD489
secondary
#536EC5
accent
#40D312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBD489

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

Preview Lab → · Contrast checker → · Palette generator →

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