#FFE870#FFE870

#FFE870 is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.7% C 0.142 H 98.6°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#FFE870
RGBrgb(255, 232, 112)
HSLhsl(50, 100%, 72%)
HSVhsv(50, 56%, 100%)
CMYKcmyk(0%, 9%, 56.1%, 0%)
CIE-LABlab(91.75, -6.50, 60.20)
CIE-LCHlch(91.75, 60.55, 96.16°)
OKLaboklab(92.67% -0.0212 0.1402)
OKLCHoklch(92.67% 0.142 98.6)
XYZxyz(73.0239, 80.1461, 26.9493)
Luminance0.8014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE870 #7087FF
analogous
#FFA170 #FFE870 #CEFF70
triadic
#FFE870 #70FFE8 #E870FF
tetradic
#FFE870 #70FFA1 #7087FF #FF70CE
square
#FFE870 #70FFA1 #7087FF #FF70CE
split-complementary
#FFE870 #70CEFF #A170FF
monochromatic
#F5CD00 #FFDE33 #FFE870 #FFF2AD #FFFAE0

Accessibility & contrast

On white

1.23
#FFE870 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#FFE870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE870
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE870#FFFFFF#000000##000000
##FFE8701.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE364
Deuteranopia (green-blind)
#FFEB76
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe870;
/* rgb */ color: rgb(255, 232, 112);
/* oklch */ color: oklch(92.7% 0.142 98.6);
Tailwind
colors: {
  custom: {
    50: '#ffef9c',
    500: '#ffe870',
    950: '#000000',
  },
}
SCSS
$custom: #ffe870;
$custom-light: #ffef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe870",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 112
  },
  "hsl": {
    "h": 50.35,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92667,
    "c": 0.14179,
    "h": 98.6
  },
  "luminance": 0.80143
}

Semantic roles & 50–950 ramp

primary
#FFE870
secondary
#3752DC
accent
#25E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #FFE870

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

Preview Lab → · Contrast checker → · Palette generator →

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