#EBD170#EBD170

#EBD170 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.3% C 0.121 H 94.7°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#EBD170
RGBrgb(235, 209, 112)
HSLhsl(47, 75%, 68%)
HSVhsv(47, 52%, 92%)
CMYKcmyk(0%, 11.1%, 52.3%, 7.8%)
CIE-LABlab(84.19, -2.97, 50.93)
CIE-LCHlch(84.19, 51.01, 93.34°)
OKLaboklab(86.28% -0.0099 0.1204)
OKLCHoklch(86.28% 0.121 94.7)
XYZxyz(59.9882, 64.4356, 24.6036)
Luminance0.6443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD170 #708AEB
analogous
#EB9370 #EBD170 #C7EB70
triadic
#EBD170 #70EBD1 #D170EB
tetradic
#EBD170 #70EB93 #708AEB #EB70C7
square
#EBD170 #70EB93 #708AEB #EB70C7
split-complementary
#EBD170 #70C7EB #9370EB
monochromatic
#C5A11C #E3C03A #EBD170 #F3E2A6 #FAF4DB

Accessibility & contrast

On white

1.51
#EBD170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#EBD170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD170
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD170#FFFFFF#000000##000000
##EBD1701.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD67
Deuteranopia (green-blind)
#E9D674
Tritanopia (blue-blind)
#FBC4BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd170;
/* rgb */ color: rgb(235, 209, 112);
/* oklch */ color: oklch(86.3% 0.121 94.7);
Tailwind
colors: {
  custom: {
    50: '#f4de9b',
    500: '#ebd170',
    950: '#000000',
  },
}
SCSS
$custom: #ebd170;
$custom-light: #f4de9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd170",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 112
  },
  "hsl": {
    "h": 47.317,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86275,
    "c": 0.12083,
    "h": 94.7
  },
  "luminance": 0.64433
}

Semantic roles & 50–950 ramp

primary
#EBD170
secondary
#3C59C3
accent
#39D80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD170

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

Preview Lab → · Contrast checker → · Palette generator →

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