#F7F85B#F7F85B

#F7F85B is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.1% C 0.174 H 109.6°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#F7F85B
RGBrgb(247, 248, 91)
HSLhsl(60, 92%, 66%)
HSVhsv(60, 63%, 97%)
CMYKcmyk(0.4%, 0%, 63.3%, 2.7%)
CIE-LABlab(95.02, -18.94, 72.43)
CIE-LCHlch(95.02, 74.86, 104.66°)
OKLaboklab(95.05% -0.0584 0.1637)
OKLCHoklch(95.05% 0.174 109.6)
XYZxyz(73.8158, 87.6663, 22.9284)
Luminance0.8766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F85B #5C5BF8
analogous
#F8AB5B #F7F85B #A9F85B
triadic
#F7F85B #5BF7F8 #F85BF7
tetradic
#F7F85B #5BF8AB #5C5BF8 #F85BA9
square
#F7F85B #5BF8AB #5C5BF8 #F85BA9
split-complementary
#F7F85B #5BA9F8 #AB5BF8
monochromatic
#CED009 #F4F520 #F7F85B #FAFB96 #FDFDD0

Accessibility & contrast

On white

1.13
#F7F85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.53
#F7F85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F85B
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F85B#FFFFFF#000000##000000
##F7F85B1.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f85b;
/* rgb */ color: rgb(247, 248, 91);
/* oklch */ color: oklch(95.1% 0.174 109.6);
Tailwind
colors: {
  custom: {
    50: '#fdfa91',
    500: '#f7f85b',
    950: '#000000',
  },
}
SCSS
$custom: #f7f85b;
$custom-light: #fdfa91;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f85b",
  "rgb": {
    "r": 247,
    "g": 248,
    "b": 91
  },
  "hsl": {
    "h": 60.382,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.95054,
    "c": 0.17379,
    "h": 109.6
  },
  "luminance": 0.87664
}

Semantic roles & 50–950 ramp

primary
#F7F85B
secondary
#2D2CCB
accent
#00E601
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7F85B

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

Preview Lab → · Contrast checker → · Palette generator →

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