#EBD171#EBD171

#EBD171 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.3% C 0.120 H 94.6°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#EBD171
RGBrgb(235, 209, 113)
HSLhsl(47, 75%, 68%)
HSVhsv(47, 52%, 92%)
CMYKcmyk(0%, 11.1%, 51.9%, 7.8%)
CIE-LABlab(84.20, -2.89, 50.46)
CIE-LCHlch(84.20, 50.55, 93.28°)
OKLaboklab(86.29% -0.0095 0.1195)
OKLCHoklch(86.29% 0.12 94.6)
XYZxyz(60.0442, 64.4579, 24.8984)
Luminance0.6445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD171 #718BEB
analogous
#EB9471 #EBD171 #C8EB71
triadic
#EBD171 #71EBD1 #D171EB
tetradic
#EBD171 #71EB94 #718BEB #EB71C8
square
#EBD171 #71EB94 #718BEB #EB71C8
split-complementary
#EBD171 #71C8EB #9471EB
monochromatic
#C6A21C #E3C03B #EBD171 #F3E2A7 #FAF4DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD171#FFFFFF#000000##000000
##EBD1711.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)
#E2CD68
Deuteranopia (green-blind)
#E9D675
Tritanopia (blue-blind)
#FBC4BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd171;
/* rgb */ color: rgb(235, 209, 113);
/* oklch */ color: oklch(86.3% 0.120 94.6);
Tailwind
colors: {
  custom: {
    50: '#f4de9c',
    500: '#ebd171',
    950: '#000000',
  },
}
SCSS
$custom: #ebd171;
$custom-light: #f4de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd171",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 113
  },
  "hsl": {
    "h": 47.213,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86288,
    "c": 0.11988,
    "h": 94.6
  },
  "luminance": 0.64455
}

Semantic roles & 50–950 ramp

primary
#EBD171
secondary
#3D5AC3
accent
#39D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD171

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

Preview Lab → · Contrast checker → · Palette generator →

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