#FFE151#FFE151

#FFE151 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 91.0% C 0.160 H 97.2°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#FFE151
RGBrgb(255, 225, 81)
HSLhsl(50, 100%, 66%)
HSVhsv(50, 68%, 100%)
CMYKcmyk(0%, 11.8%, 68.2%, 0%)
CIE-LABlab(89.72, -4.92, 71.06)
CIE-LCHlch(89.72, 71.23, 93.96°)
OKLaboklab(90.98% -0.0202 0.159)
OKLCHoklch(90.98% 0.16 97.2)
XYZxyz(69.6537, 75.7080, 18.7272)
Luminance0.7571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE151 #516FFF
analogous
#FF8A51 #FFE151 #C6FF51
triadic
#FFE151 #51FFE1 #E151FF
tetradic
#FFE151 #51FF8A #516FFF #FF51C6
square
#FFE151 #51FF8A #516FFF #FF51C6
split-complementary
#FFE151 #51C6FF #8A51FF
monochromatic
#D6B100 #FFD614 #FFE151 #FFEC8E #FFF6CB

Accessibility & contrast

On white

1.30
#FFE151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.14
#FFE151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE151
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE151#FFFFFF#000000##000000
##FFE1511.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3D
Deuteranopia (green-blind)
#FFE659
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ffe151;
/* rgb */ color: rgb(255, 225, 81);
/* oklch */ color: oklch(91.0% 0.160 97.2);
Tailwind
colors: {
  custom: {
    50: '#ffea89',
    500: '#ffe151',
    950: '#000000',
  },
}
SCSS
$custom: #ffe151;
$custom-light: #ffea89;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe151",
  "rgb": {
    "r": 255,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 49.655,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.90978,
    "c": 0.16027,
    "h": 97.2
  },
  "luminance": 0.75705
}

Semantic roles & 50–950 ramp

primary
#FFE151
secondary
#2542D0
accent
#28E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFE151

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

Preview Lab → · Contrast checker → · Palette generator →

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