#EBD792#EBD792

#EBD792 is a very light, moderate yellow. Relative luminance 0.683; OKLCH L 88.0% C 0.090 H 93.8°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#EBD792
RGBrgb(235, 215, 146)
HSLhsl(47, 69%, 75%)
HSVhsv(47, 38%, 92%)
CMYKcmyk(0%, 8.5%, 37.9%, 7.8%)
CIE-LABlab(86.18, -2.74, 36.57)
CIE-LCHlch(86.18, 36.68, 94.28°)
OKLaboklab(87.99% -0.0061 0.0902)
OKLCHoklch(87.99% 0.09 93.8)
XYZxyz(63.7510, 68.3405, 37.0214)
Luminance0.6834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD792 #92A6EB
analogous
#EBAB92 #EBD792 #D2EB92
triadic
#EBD792 #92EBD7 #D792EB
tetradic
#EBD792 #92EBAB #92A6EB #EB92D2
square
#EBD792 #92EBAB #92A6EB #EB92D2
split-complementary
#EBD792 #92D2EB #AB92EB
monochromatic
#D8B12B #E2C45E #EBD792 #F4EAC6 #FAF6E5

Accessibility & contrast

On white

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

On black

14.67
#EBD792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD792
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD792#FFFFFF#000000##000000
##EBD7921.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D48D
Deuteranopia (green-blind)
#EADA94
Tritanopia (blue-blind)
#F8CDC5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebd792;
/* rgb */ color: rgb(235, 215, 146);
/* oklch */ color: oklch(88.0% 0.090 93.8);
Tailwind
colors: {
  custom: {
    50: '#f3e3b2',
    500: '#ebd792',
    950: '#000000',
  },
}
SCSS
$custom: #ebd792;
$custom-light: #f3e3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd792",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 146
  },
  "hsl": {
    "h": 46.517,
    "s": 68.992,
    "l": 74.706
  },
  "oklch": {
    "l": 0.87993,
    "c": 0.09041,
    "h": 93.8
  },
  "luminance": 0.68338
}

Semantic roles & 50–950 ramp

primary
#EBD792
secondary
#5B73C6
accent
#3FD115
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBD792

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

Preview Lab → · Contrast checker → · Palette generator →

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