#F4F85B#F4F85B

#F4F85B is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.8% C 0.174 H 110.7°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#F4F85B
RGBrgb(244, 248, 91)
HSLhsl(62, 92%, 66%)
HSVhsv(62, 63%, 97%)
CMYKcmyk(1.6%, 0%, 63.3%, 2.7%)
CIE-LABlab(94.79, -20.14, 72.12)
CIE-LCHlch(94.79, 74.88, 105.61°)
OKLaboklab(94.82% -0.0616 0.1631)
OKLCHoklch(94.82% 0.174 110.7)
XYZxyz(72.7662, 87.1251, 22.8792)
Luminance0.8712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F85B #5F5BF8
analogous
#F8AE5B #F4F85B #A6F85B
triadic
#F4F85B #5BF4F8 #F85BF4
tetradic
#F4F85B #5BF8AE #5F5BF8 #F85BA6
square
#F4F85B #5BF8AE #5F5BF8 #F85BA6
split-complementary
#F4F85B #5BA6F8 #AE5BF8
monochromatic
#CBD009 #F0F520 #F4F85B #F8FB96 #FCFDD0

Accessibility & contrast

On white

1.14
#F4F85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#F4F85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F85B
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F85B#FFFFFF#000000##000000
##F4F85B1.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE46
Deuteranopia (green-blind)
#FFF265
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f4f85b;
/* rgb */ color: rgb(244, 248, 91);
/* oklch */ color: oklch(94.8% 0.174 110.7);
Tailwind
colors: {
  custom: {
    50: '#fbfa91',
    500: '#f4f85b',
    950: '#000000',
  },
}
SCSS
$custom: #f4f85b;
$custom-light: #fbfa91;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f85b",
  "rgb": {
    "r": 244,
    "g": 248,
    "b": 91
  },
  "hsl": {
    "h": 61.529,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.94816,
    "c": 0.17435,
    "h": 110.7
  },
  "luminance": 0.87123
}

Semantic roles & 50–950 ramp

primary
#F4F85B
secondary
#302CCB
accent
#00E606
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F4F85B

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

Preview Lab → · Contrast checker → · Palette generator →

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