#F5E651#F5E651

#F5E651 is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.1% C 0.164 H 103.5°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#F5E651
RGBrgb(245, 230, 81)
HSLhsl(55, 89%, 64%)
HSVhsv(55, 67%, 96%)
CMYKcmyk(0%, 6.1%, 66.9%, 3.9%)
CIE-LABlab(90.14, -11.53, 71.20)
CIE-LCHlch(90.14, 72.13, 99.20°)
OKLaboklab(91.1% -0.0384 0.1596)
OKLCHoklch(91.1% 0.164 103.5)
XYZxyz(67.4410, 76.6029, 19.0164)
Luminance0.7660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E651 #5160F5
analogous
#F59451 #F5E651 #B2F551
triadic
#F5E651 #51F5E6 #E651F5
tetradic
#F5E651 #51F594 #5160F5 #F551B2
square
#F5E651 #51F594 #5160F5 #F551B2
split-complementary
#F5E651 #51B2F5 #9451F5
monochromatic
#C1B00B #F2DE17 #F5E651 #F8EE8B #FCF7C5

Accessibility & contrast

On white

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

On black

16.32
#F5E651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E651
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E651#FFFFFF#000000##000000
##F5E6511.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF3C
Deuteranopia (green-blind)
#FFE65A
Tritanopia (blue-blind)
#FFD7C8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e651;
/* rgb */ color: rgb(245, 230, 81);
/* oklch */ color: oklch(91.1% 0.164 103.5);
Tailwind
colors: {
  custom: {
    50: '#fced8a',
    500: '#f5e651',
    950: '#000000',
  },
}
SCSS
$custom: #f5e651;
$custom-light: #fced8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e651",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 81
  },
  "hsl": {
    "h": 54.512,
    "s": 89.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.91103,
    "c": 0.16417,
    "h": 103.5
  },
  "luminance": 0.766
}

Semantic roles & 50–950 ramp

primary
#F5E651
secondary
#2C39BE
accent
#15E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F5E651

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

Preview Lab → · Contrast checker → · Palette generator →

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