#F7F05F#F7F05F

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

Color values

HEX#F7F05F
RGBrgb(247, 240, 95)
HSLhsl(57, 90%, 67%)
HSVhsv(57, 62%, 97%)
CMYKcmyk(0%, 2.8%, 61.5%, 3.1%)
CIE-LABlab(92.98, -14.83, 68.68)
CIE-LCHlch(92.98, 70.27, 102.18°)
OKLaboklab(93.44% -0.0464 0.1563)
OKLCHoklch(93.44% 0.163 106.5)
XYZxyz(71.5859, 82.9229, 23.0591)
Luminance0.8292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F05F #5F66F7
analogous
#F7A45F #F7F05F #B2F75F
triadic
#F7F05F #5FF7F0 #F05FF7
tetradic
#F7F05F #5FF7A4 #5F66F7 #F75FB2
square
#F7F05F #5FF7A4 #5F66F7 #F75FB2
split-complementary
#F7F05F #5FB2F7 #A45FF7
monochromatic
#D1C80A #F4EB25 #F7F05F #FAF599 #FDFBD4

Accessibility & contrast

On white

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

On black

17.58
#F7F05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F05F
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F05F#FFFFFF#000000##000000
##F7F05F1.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74D
Deuteranopia (green-blind)
#FFEE68
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7f05f;
/* rgb */ color: rgb(247, 240, 95);
/* oklch */ color: oklch(93.4% 0.163 106.5);
Tailwind
colors: {
  custom: {
    50: '#fdf492',
    500: '#f7f05f',
    950: '#000000',
  },
}
SCSS
$custom: #f7f05f;
$custom-light: #fdf492;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f05f",
  "rgb": {
    "r": 247,
    "g": 240,
    "b": 95
  },
  "hsl": {
    "h": 57.237,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.93438,
    "c": 0.16308,
    "h": 106.5
  },
  "luminance": 0.82921
}

Semantic roles & 50–950 ramp

primary
#F7F05F
secondary
#2E35CC
accent
#0BE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7F05F

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

Preview Lab → · Contrast checker → · Palette generator →

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