#F7F25C#F7F25C

#F7F25C is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.8% C 0.167 H 107.4°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#F7F25C
RGBrgb(247, 242, 92)
HSLhsl(58, 91%, 66%)
HSVhsv(58, 63%, 97%)
CMYKcmyk(0%, 2%, 62.8%, 3.1%)
CIE-LABlab(93.47, -15.98, 70.42)
CIE-LCHlch(93.47, 72.21, 102.79°)
OKLaboklab(93.82% -0.05 0.1596)
OKLCHoklch(93.82% 0.167 107.4)
XYZxyz(72.0441, 84.0534, 22.5520)
Luminance0.8405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F25C #5C61F7
analogous
#F7A55C #F7F25C #AEF75C
triadic
#F7F25C #5CF7F2 #F25CF7
tetradic
#F7F25C #5CF7A5 #5C61F7 #F75CAE
square
#F7F25C #5CF7A5 #5C61F7 #F75CAE
split-complementary
#F7F25C #5CAEF7 #A55CF7
monochromatic
#CEC80A #F4ED22 #F7F25C #FAF796 #FDFBD1

Accessibility & contrast

On white

1.18
#F7F25C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#F7F25C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F25C
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F25C#FFFFFF#000000##000000
##F7F25C1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE949
Deuteranopia (green-blind)
#FFEF65
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f25c;
/* rgb */ color: rgb(247, 242, 92);
/* oklch */ color: oklch(93.8% 0.167 107.4);
Tailwind
colors: {
  custom: {
    50: '#fdf691',
    500: '#f7f25c',
    950: '#000000',
  },
}
SCSS
$custom: #f7f25c;
$custom-light: #fdf691;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f25c",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 92
  },
  "hsl": {
    "h": 58.065,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93823,
    "c": 0.16721,
    "h": 107.4
  },
  "luminance": 0.84051
}

Semantic roles & 50–950 ramp

primary
#F7F25C
secondary
#2D32CA
accent
#07E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7F25C

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

Preview Lab → · Contrast checker → · Palette generator →

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