#EBD162#EBD162

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

Color values

HEX#EBD162
RGBrgb(235, 209, 98)
HSLhsl(49, 77%, 65%)
HSVhsv(49, 58%, 92%)
CMYKcmyk(0%, 11.1%, 58.3%, 7.8%)
CIE-LABlab(84.04, -4.05, 57.28)
CIE-LCHlch(84.04, 57.42, 94.04°)
OKLaboklab(86.11% -0.0146 0.1327)
OKLCHoklch(86.11% 0.134 96.3)
XYZxyz(59.2684, 64.1476, 20.8127)
Luminance0.6414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD162 #627CEB
analogous
#EB8C62 #EBD162 #C1EB62
triadic
#EBD162 #62EBD1 #D162EB
tetradic
#EBD162 #62EB8C #627CEB #EB62C1
square
#EBD162 #62EB8C #627CEB #EB62C1
split-complementary
#EBD162 #62C1EB #8C62EB
monochromatic
#BB9C18 #E4C12C #EBD162 #F2E198 #F9F1CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD162#FFFFFF#000000##000000
##EBD1621.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)
#E4CD57
Deuteranopia (green-blind)
#EAD567
Tritanopia (blue-blind)
#FCC3B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd162;
/* rgb */ color: rgb(235, 209, 98);
/* oklch */ color: oklch(86.1% 0.134 96.3);
Tailwind
colors: {
  custom: {
    50: '#f4de92',
    500: '#ebd162',
    950: '#000000',
  },
}
SCSS
$custom: #ebd162;
$custom-light: #f4de92;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd162",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 48.613,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86109,
    "c": 0.13352,
    "h": 96.3
  },
  "luminance": 0.64145
}

Semantic roles & 50–950 ramp

primary
#EBD162
secondary
#3750BA
accent
#33DA0C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD162

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

Preview Lab → · Contrast checker → · Palette generator →

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