#EBE271#EBE271

#EBE271 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.7% C 0.135 H 104.7°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#EBE271
RGBrgb(235, 226, 113)
HSLhsl(56, 75%, 68%)
HSVhsv(56, 52%, 92%)
CMYKcmyk(0%, 3.8%, 51.9%, 7.8%)
CIE-LABlab(88.57, -11.47, 55.63)
CIE-LCHlch(88.57, 56.80, 101.65°)
OKLaboklab(89.75% -0.0342 0.1308)
OKLCHoklch(89.75% 0.135 104.7)
XYZxyz(64.4398, 73.2491, 26.3636)
Luminance0.7325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE271 #717AEB
analogous
#EBA571 #EBE271 #B7EB71
triadic
#EBE271 #71EBE2 #E271EB
tetradic
#EBE271 #71EBA5 #717AEB #EB71B7
square
#EBE271 #71EBA5 #717AEB #EB71B7
split-complementary
#EBE271 #71B7EB #A571EB
monochromatic
#C6B91C #E3D73B #EBE271 #F3EDA7 #FAF8DC

Accessibility & contrast

On white

1.34
#EBE271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.65
#EBE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE271
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE271#FFFFFF#000000##000000
##EBE2711.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB66
Deuteranopia (green-blind)
#F6E177
Tritanopia (blue-blind)
#FAD5C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ebe271;
/* rgb */ color: rgb(235, 226, 113);
/* oklch */ color: oklch(89.7% 0.135 104.7);
Tailwind
colors: {
  custom: {
    50: '#f4ea9d',
    500: '#ebe271',
    950: '#000000',
  },
}
SCSS
$custom: #ebe271;
$custom-light: #f4ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe271",
  "rgb": {
    "r": 235,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 55.574,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89746,
    "c": 0.13517,
    "h": 104.7
  },
  "luminance": 0.73247
}

Semantic roles & 50–950 ramp

primary
#EBE271
secondary
#3D47C3
accent
#1DD70E
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EBE271

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

Preview Lab → · Contrast checker → · Palette generator →

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