#EBD161#EBD161

#EBD161 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.1% C 0.134 H 96.4°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#EBD161
RGBrgb(235, 209, 97)
HSLhsl(49, 78%, 65%)
HSVhsv(49, 59%, 92%)
CMYKcmyk(0%, 11.1%, 58.7%, 7.8%)
CIE-LABlab(84.03, -4.12, 57.72)
CIE-LCHlch(84.03, 57.87, 94.08°)
OKLaboklab(86.1% -0.0149 0.1335)
OKLCHoklch(86.1% 0.134 96.4)
XYZxyz(59.2215, 64.1289, 20.5656)
Luminance0.6413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD161 #617BEB
analogous
#EB8C61 #EBD161 #C0EB61
triadic
#EBD161 #61EBD1 #D161EB
tetradic
#EBD161 #61EB8C #617BEB #EB61C0
square
#EBD161 #61EB8C #617BEB #EB61C0
split-complementary
#EBD161 #61C0EB #8C61EB
monochromatic
#BA9B18 #E4C12B #EBD161 #F2E197 #F9F1CE

Accessibility & contrast

On white

1.52
#EBD161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#EBD161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD161
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD161#FFFFFF#000000##000000
##EBD1611.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD55
Deuteranopia (green-blind)
#EAD566
Tritanopia (blue-blind)
#FCC3B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd161;
/* rgb */ color: rgb(235, 209, 97);
/* oklch */ color: oklch(86.1% 0.134 96.4);
Tailwind
colors: {
  custom: {
    50: '#f4de92',
    500: '#ebd161',
    950: '#000000',
  },
}
SCSS
$custom: #ebd161;
$custom-light: #f4de92;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd161",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 48.696,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86098,
    "c": 0.13437,
    "h": 96.4
  },
  "luminance": 0.64126
}

Semantic roles & 50–950 ramp

primary
#EBD161
secondary
#374FB9
accent
#33DA0C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD161

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

Preview Lab → · Contrast checker → · Palette generator →

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