#F5F985#F5F985

#F5F985 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.5% C 0.139 H 110.5°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#F5F985
RGBrgb(245, 249, 133)
HSLhsl(62, 91%, 75%)
HSVhsv(62, 47%, 98%)
CMYKcmyk(1.6%, 0%, 46.6%, 2.4%)
CIE-LABlab(95.52, -17.09, 54.82)
CIE-LCHlch(95.52, 57.43, 107.31°)
OKLaboklab(95.54% -0.0489 0.1306)
OKLCHoklch(95.54% 0.139 110.5)
XYZxyz(75.7669, 88.8588, 35.3459)
Luminance0.8886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F985 #8985F9
analogous
#F9C385 #F5F985 #BBF985
triadic
#F5F985 #85F5F9 #F985F5
tetradic
#F5F985 #85F9C3 #8985F9 #F985BB
square
#F5F985 #85F9C3 #8985F9 #F985BB
split-complementary
#F5F985 #85BBF9 #C385F9
monochromatic
#EBF310 #F0F64B #F5F985 #FAFCBF #FDFEE2

Accessibility & contrast

On white

1.12
#F5F985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.77
#F5F985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F985
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F985#FFFFFF#000000##000000
##F5F9851.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF07B
Deuteranopia (green-blind)
#FFF48B
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f5f985;
/* rgb */ color: rgb(245, 249, 133);
/* oklch */ color: oklch(95.5% 0.139 110.5);
Tailwind
colors: {
  custom: {
    50: '#fafbab',
    500: '#f5f985',
    950: '#000000',
  },
}
SCSS
$custom: #f5f985;
$custom-light: #fafbab;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f985",
  "rgb": {
    "r": 245,
    "g": 249,
    "b": 133
  },
  "hsl": {
    "h": 62.069,
    "s": 90.625,
    "l": 74.902
  },
  "oklch": {
    "l": 0.95544,
    "c": 0.13941,
    "h": 110.5
  },
  "luminance": 0.88857
}

Semantic roles & 50–950 ramp

primary
#F5F985
secondary
#504BD7
accent
#00E608
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F985

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

Preview Lab → · Contrast checker → · Palette generator →

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