#EBD671#EBD671

#EBD671 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.3% C 0.124 H 97.8°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#EBD671
RGBrgb(235, 214, 113)
HSLhsl(50, 75%, 68%)
HSVhsv(50, 52%, 92%)
CMYKcmyk(0%, 8.9%, 51.9%, 7.8%)
CIE-LABlab(85.48, -5.44, 51.98)
CIE-LCHlch(85.48, 52.27, 95.97°)
OKLaboklab(87.3% -0.0169 0.1228)
OKLCHoklch(87.3% 0.124 97.8)
XYZxyz(61.2902, 66.9500, 25.3138)
Luminance0.6695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD671 #7186EB
analogous
#EB9971 #EBD671 #C3EB71
triadic
#EBD671 #71EBD6 #D671EB
tetradic
#EBD671 #71EB99 #7186EB #EB71C3
square
#EBD671 #71EB99 #7186EB #EB71C3
split-complementary
#EBD671 #71C3EB #9971EB
monochromatic
#C6A91C #E3C73B #EBD671 #F3E5A7 #FAF5DC

Accessibility & contrast

On white

1.46
#EBD671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#EBD671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD671
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD671#FFFFFF#000000##000000
##EBD6711.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D168
Deuteranopia (green-blind)
#EDD975
Tritanopia (blue-blind)
#FBC9BF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ebd671;
/* rgb */ color: rgb(235, 214, 113);
/* oklch */ color: oklch(87.3% 0.124 97.8);
Tailwind
colors: {
  custom: {
    50: '#f4e29c',
    500: '#ebd671',
    950: '#000000',
  },
}
SCSS
$custom: #ebd671;
$custom-light: #f4e29c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd671",
  "rgb": {
    "r": 235,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 49.672,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87297,
    "c": 0.12398,
    "h": 97.8
  },
  "luminance": 0.66948
}

Semantic roles & 50–950 ramp

primary
#EBD671
secondary
#3D54C3
accent
#31D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD671

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

Preview Lab → · Contrast checker → · Palette generator →

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