#EBD799#EBD799

#EBD799 is a very light, moderate yellow. Relative luminance 0.686; OKLCH L 88.1% C 0.083 H 92.3°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#EBD799
RGBrgb(235, 215, 153)
HSLhsl(45, 67%, 76%)
HSVhsv(45, 35%, 92%)
CMYKcmyk(0%, 8.5%, 34.9%, 7.8%)
CIE-LABlab(86.29, -1.94, 33.15)
CIE-LCHlch(86.29, 33.20, 93.35°)
OKLaboklab(88.12% -0.0033 0.0824)
OKLCHoklch(88.12% 0.083 92.3)
XYZxyz(64.3122, 68.5650, 39.9774)
Luminance0.6856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD799 #99ADEB
analogous
#EBAE99 #EBD799 #D6EB99
triadic
#EBD799 #99EBD7 #D799EB
tetradic
#EBD799 #99EBAE #99ADEB #EB99D6
square
#EBD799 #99EBAE #99ADEB #EB99D6
split-complementary
#EBD799 #99D6EB #AE99EB
monochromatic
#D7AF33 #E1C366 #EBD799 #F5EBCC #FAF5E5

Accessibility & contrast

On white

1.43
#EBD799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#EBD799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD799
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD799#FFFFFF#000000##000000
##EBD7991.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D495
Deuteranopia (green-blind)
#E9DB9B
Tritanopia (blue-blind)
#F7CEC7
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebd799;
/* rgb */ color: rgb(235, 215, 153);
/* oklch */ color: oklch(88.1% 0.083 92.3);
Tailwind
colors: {
  custom: {
    50: '#f2e3b7',
    500: '#ebd799',
    950: '#000000',
  },
}
SCSS
$custom: #ebd799;
$custom-light: #f2e3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd799",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 153
  },
  "hsl": {
    "h": 45.366,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.88117,
    "c": 0.08251,
    "h": 92.3
  },
  "luminance": 0.68563
}

Semantic roles & 50–950 ramp

primary
#EBD799
secondary
#627AC6
accent
#43CF16
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBD799

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

Preview Lab → · Contrast checker → · Palette generator →

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