#FFE251#FFE251

#FFE251 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.2% C 0.161 H 97.7°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#FFE251
RGBrgb(255, 226, 81)
HSLhsl(50, 100%, 66%)
HSVhsv(50, 68%, 100%)
CMYKcmyk(0%, 11.4%, 68.2%, 0%)
CIE-LABlab(89.98, -5.42, 71.31)
CIE-LCHlch(89.98, 71.52, 94.35°)
OKLaboklab(91.18% -0.0216 0.1595)
OKLCHoklch(91.18% 0.161 97.7)
XYZxyz(69.9249, 76.2502, 18.8176)
Luminance0.7625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE251 #516EFF
analogous
#FF8B51 #FFE251 #C5FF51
triadic
#FFE251 #51FFE2 #E251FF
tetradic
#FFE251 #51FF8B #516EFF #FF51C5
square
#FFE251 #51FF8B #516EFF #FF51C5
split-complementary
#FFE251 #51C5FF #8B51FF
monochromatic
#D6B200 #FFD814 #FFE251 #FFEC8E #FFF6CB

Accessibility & contrast

On white

1.29
#FFE251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#FFE251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE251
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE251#FFFFFF#000000##000000
##FFE2511.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD3D
Deuteranopia (green-blind)
#FFE759
Tritanopia (blue-blind)
#FFD2C5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ffe251;
/* rgb */ color: rgb(255, 226, 81);
/* oklch */ color: oklch(91.2% 0.161 97.7);
Tailwind
colors: {
  custom: {
    50: '#ffea89',
    500: '#ffe251',
    950: '#000000',
  },
}
SCSS
$custom: #ffe251;
$custom-light: #ffea89;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe251",
  "rgb": {
    "r": 255,
    "g": 226,
    "b": 81
  },
  "hsl": {
    "h": 50,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91177,
    "c": 0.16099,
    "h": 97.7
  },
  "luminance": 0.76247
}

Semantic roles & 50–950 ramp

primary
#FFE251
secondary
#2541D0
accent
#26E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFE251

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

Preview Lab → · Contrast checker → · Palette generator →

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