#FFE875#FFE875

#FFE875 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.7% C 0.137 H 98.2°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#FFE875
RGBrgb(255, 232, 117)
HSLhsl(50, 100%, 73%)
HSVhsv(50, 54%, 100%)
CMYKcmyk(0%, 9%, 54.1%, 0%)
CIE-LABlab(91.80, -6.12, 57.99)
CIE-LCHlch(91.80, 58.32, 96.02°)
OKLaboklab(92.73% -0.0196 0.1359)
OKLCHoklch(92.73% 0.137 98.2)
XYZxyz(73.3101, 80.2606, 28.4564)
Luminance0.8026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE875 #758CFF
analogous
#FFA375 #FFE875 #D1FF75
triadic
#FFE875 #75FFE8 #E875FF
tetradic
#FFE875 #75FFA3 #758CFF #FF75D1
square
#FFE875 #75FFA3 #758CFF #FF75D1
split-complementary
#FFE875 #75D1FF #A375FF
monochromatic
#FAD000 #FFDE38 #FFE875 #FFF2B2 #FFFAE0

Accessibility & contrast

On white

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

On black

17.05
#FFE875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE875
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE875#FFFFFF#000000##000000
##FFE8751.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36A
Deuteranopia (green-blind)
#FFEB7A
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe875;
/* rgb */ color: rgb(255, 232, 117);
/* oklch */ color: oklch(92.7% 0.137 98.2);
Tailwind
colors: {
  custom: {
    50: '#ffefa0',
    500: '#ffe875',
    950: '#000000',
  },
}
SCSS
$custom: #ffe875;
$custom-light: #ffefa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe875",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 117
  },
  "hsl": {
    "h": 50,
    "s": 100,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92725,
    "c": 0.13735,
    "h": 98.2
  },
  "luminance": 0.80258
}

Semantic roles & 50–950 ramp

primary
#FFE875
secondary
#3C56DD
accent
#26E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE875

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

Preview Lab → · Contrast checker → · Palette generator →

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