#F5F181#F5F181

#F5F181 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.8% C 0.135 H 106.9°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#F5F181
RGBrgb(245, 241, 129)
HSLhsl(58, 85%, 73%)
HSVhsv(58, 47%, 96%)
CMYKcmyk(0%, 1.6%, 47.3%, 3.9%)
CIE-LABlab(93.41, -13.55, 54.15)
CIE-LCHlch(93.41, 55.82, 104.05°)
OKLaboklab(93.85% -0.0391 0.1288)
OKLCHoklch(93.85% 0.135 106.9)
XYZxyz(73.0756, 83.9100, 33.1114)
Luminance0.8391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F181 #8185F5
analogous
#F5B781 #F5F181 #BFF581
triadic
#F5F181 #81F5F1 #F181F5
tetradic
#F5F181 #81F5B7 #8185F5 #F581BF
square
#F5F181 #81F5B7 #8185F5 #F581BF
split-complementary
#F5F181 #81BFF5 #B781F5
monochromatic
#E9E213 #F0EB48 #F5F181 #F9F7BA #FDFCE3

Accessibility & contrast

On white

1.18
#F5F181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.78
#F5F181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F181
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F181#FFFFFF#000000##000000
##F5F1811.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE977
Deuteranopia (green-blind)
#FFEE86
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f5f181;
/* rgb */ color: rgb(245, 241, 129);
/* oklch */ color: oklch(93.8% 0.135 106.9);
Tailwind
colors: {
  custom: {
    50: '#faf5a8',
    500: '#f5f181',
    950: '#000000',
  },
}
SCSS
$custom: #f5f181;
$custom-light: #faf5a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f181",
  "rgb": {
    "r": 245,
    "g": 241,
    "b": 129
  },
  "hsl": {
    "h": 57.931,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93849,
    "c": 0.13458,
    "h": 106.9
  },
  "luminance": 0.83908
}

Semantic roles & 50–950 ramp

primary
#F5F181
secondary
#494ED1
accent
#0BE204
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F181

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

Preview Lab → · Contrast checker → · Palette generator →

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