#EBD271#EBD271

#EBD271 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.5% C 0.121 H 95.2°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#EBD271
RGBrgb(235, 210, 113)
HSLhsl(48, 75%, 68%)
HSVhsv(48, 52%, 92%)
CMYKcmyk(0%, 10.6%, 51.9%, 7.8%)
CIE-LABlab(84.46, -3.40, 50.77)
CIE-LCHlch(84.46, 50.88, 93.83°)
OKLaboklab(86.49% -0.011 0.1202)
OKLCHoklch(86.49% 0.121 95.2)
XYZxyz(60.2903, 64.9502, 24.9805)
Luminance0.6495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD271 #718AEB
analogous
#EB9571 #EBD271 #C7EB71
triadic
#EBD271 #71EBD2 #D271EB
tetradic
#EBD271 #71EB95 #718AEB #EB71C7
square
#EBD271 #71EB95 #718AEB #EB71C7
split-complementary
#EBD271 #71C7EB #9571EB
monochromatic
#C6A31C #E3C13B #EBD271 #F3E3A7 #FAF4DC

Accessibility & contrast

On white

1.50
#EBD271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#EBD271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD271
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD271#FFFFFF#000000##000000
##EBD2711.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE68
Deuteranopia (green-blind)
#EAD675
Tritanopia (blue-blind)
#FBC5BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ebd271;
/* rgb */ color: rgb(235, 210, 113);
/* oklch */ color: oklch(86.5% 0.121 95.2);
Tailwind
colors: {
  custom: {
    50: '#f4df9c',
    500: '#ebd271',
    950: '#000000',
  },
}
SCSS
$custom: #ebd271;
$custom-light: #f4df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd271",
  "rgb": {
    "r": 235,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 47.705,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8649,
    "c": 0.12067,
    "h": 95.2
  },
  "luminance": 0.64948
}

Semantic roles & 50–950 ramp

primary
#EBD271
secondary
#3D59C3
accent
#37D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD271

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

Preview Lab → · Contrast checker → · Palette generator →

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