#FFE351#FFE351

#FFE351 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.4% C 0.162 H 98.2°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#FFE351
RGBrgb(255, 227, 81)
HSLhsl(50, 100%, 66%)
HSVhsv(50, 68%, 100%)
CMYKcmyk(0%, 11%, 68.2%, 0%)
CIE-LABlab(90.23, -5.92, 71.57)
CIE-LCHlch(90.23, 71.81, 94.73°)
OKLaboklab(91.38% -0.023 0.1601)
OKLCHoklch(91.38% 0.162 98.2)
XYZxyz(70.1976, 76.7957, 18.9085)
Luminance0.7679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE351 #516DFF
analogous
#FF8C51 #FFE351 #C4FF51
triadic
#FFE351 #51FFE3 #E351FF
tetradic
#FFE351 #51FF8C #516DFF #FF51C4
square
#FFE351 #51FF8C #516DFF #FF51C4
split-complementary
#FFE351 #51C4FF #8C51FF
monochromatic
#D6B300 #FFD914 #FFE351 #FFED8E #FFF7CB

Accessibility & contrast

On white

1.28
#FFE351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#FFE351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE351
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE351#FFFFFF#000000##000000
##FFE3511.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DD3C
Deuteranopia (green-blind)
#FFE759
Tritanopia (blue-blind)
#FFD3C5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ffe351;
/* rgb */ color: rgb(255, 227, 81);
/* oklch */ color: oklch(91.4% 0.162 98.2);
Tailwind
colors: {
  custom: {
    50: '#ffeb89',
    500: '#ffe351',
    950: '#000000',
  },
}
SCSS
$custom: #ffe351;
$custom-light: #ffeb89;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe351",
  "rgb": {
    "r": 255,
    "g": 227,
    "b": 81
  },
  "hsl": {
    "h": 50.345,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91377,
    "c": 0.16173,
    "h": 98.2
  },
  "luminance": 0.76792
}

Semantic roles & 50–950 ramp

primary
#FFE351
secondary
#2540D0
accent
#25E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFE351

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

Preview Lab → · Contrast checker → · Palette generator →

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