#F7F05C#F7F05C

#F7F05C is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.4% C 0.165 H 106.6°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#F7F05C
RGBrgb(247, 240, 92)
HSLhsl(57, 91%, 66%)
HSVhsv(57, 63%, 97%)
CMYKcmyk(0%, 2.8%, 62.8%, 3.1%)
CIE-LABlab(92.96, -15.01, 69.87)
CIE-LCHlch(92.96, 71.46, 102.12°)
OKLaboklab(93.41% -0.0472 0.1584)
OKLCHoklch(93.41% 0.165 106.6)
XYZxyz(71.4521, 82.8694, 22.3547)
Luminance0.8287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F05C #5C63F7
analogous
#F7A35C #F7F05C #B1F75C
triadic
#F7F05C #5CF7F0 #F05CF7
tetradic
#F7F05C #5CF7A3 #5C63F7 #F75CB1
square
#F7F05C #5CF7A3 #5C63F7 #F75CB1
split-complementary
#F7F05C #5CB1F7 #A35CF7
monochromatic
#CEC60A #F4EB22 #F7F05C #FAF596 #FDFBD1

Accessibility & contrast

On white

1.19
#F7F05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#F7F05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F05C
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F05C#FFFFFF#000000##000000
##F7F05C1.001.1917.5717.57
#FFFFFF1.191.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE749
Deuteranopia (green-blind)
#FFEE65
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7f05c;
/* rgb */ color: rgb(247, 240, 92);
/* oklch */ color: oklch(93.4% 0.165 106.6);
Tailwind
colors: {
  custom: {
    50: '#fdf491',
    500: '#f7f05c',
    950: '#000000',
  },
}
SCSS
$custom: #f7f05c;
$custom-light: #fdf491;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f05c",
  "rgb": {
    "r": 247,
    "g": 240,
    "b": 92
  },
  "hsl": {
    "h": 57.29,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93412,
    "c": 0.16531,
    "h": 106.6
  },
  "luminance": 0.82867
}

Semantic roles & 50–950 ramp

primary
#F7F05C
secondary
#2D34CA
accent
#0AE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7F05C

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

Preview Lab → · Contrast checker → · Palette generator →

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