#FFE874#FFE874

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

Color values

HEX#FFE874
RGBrgb(255, 232, 116)
HSLhsl(50, 100%, 73%)
HSVhsv(50, 55%, 100%)
CMYKcmyk(0%, 9%, 54.5%, 0%)
CIE-LABlab(91.79, -6.20, 58.44)
CIE-LCHlch(91.79, 58.77, 96.05°)
OKLaboklab(92.71% -0.0199 0.1368)
OKLCHoklch(92.71% 0.138 98.3)
XYZxyz(73.2516, 80.2372, 28.1484)
Luminance0.8023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE874 #748BFF
analogous
#FFA274 #FFE874 #D0FF74
triadic
#FFE874 #74FFE8 #E874FF
tetradic
#FFE874 #74FFA2 #748BFF #FF74D0
square
#FFE874 #74FFA2 #748BFF #FF74D0
split-complementary
#FFE874 #74D0FF #A274FF
monochromatic
#F9CF00 #FFDE37 #FFE874 #FFF2B1 #FFFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE874#FFFFFF#000000##000000
##FFE8741.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)
#FBE369
Deuteranopia (green-blind)
#FFEB79
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe874;
/* rgb */ color: rgb(255, 232, 116);
/* oklch */ color: oklch(92.7% 0.138 98.3);
Tailwind
colors: {
  custom: {
    50: '#ffef9f',
    500: '#ffe874',
    950: '#000000',
  },
}
SCSS
$custom: #ffe874;
$custom-light: #ffef9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe874",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 116
  },
  "hsl": {
    "h": 50.072,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92713,
    "c": 0.13824,
    "h": 98.3
  },
  "luminance": 0.80234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFE874

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

Preview Lab → · Contrast checker → · Palette generator →

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