#F7F45C#F7F45C

#F7F45C is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.2% C 0.169 H 108.2°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#F7F45C
RGBrgb(247, 244, 92)
HSLhsl(59, 91%, 66%)
HSVhsv(59, 63%, 97%)
CMYKcmyk(0%, 1.2%, 62.8%, 3.1%)
CIE-LABlab(93.99, -16.95, 70.96)
CIE-LCHlch(93.99, 72.96, 103.44°)
OKLaboklab(94.24% -0.0527 0.1607)
OKLCHoklch(94.24% 0.169 108.2)
XYZxyz(72.6426, 85.2504, 22.7516)
Luminance0.8525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F45C #5C5FF7
analogous
#F7A75C #F7F45C #ADF75C
triadic
#F7F45C #5CF7F4 #F45CF7
tetradic
#F7F45C #5CF7A7 #5C5FF7 #F75CAD
square
#F7F45C #5CF7A7 #5C5FF7 #F75CAD
split-complementary
#F7F45C #5CADF7 #A75CF7
monochromatic
#CECB0A #F4F022 #F7F45C #FAF896 #FDFCD1

Accessibility & contrast

On white

1.16
#F7F45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.05
#F7F45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F45C
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F45C#FFFFFF#000000##000000
##F7F45C1.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB48
Deuteranopia (green-blind)
#FFF066
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f7f45c;
/* rgb */ color: rgb(247, 244, 92);
/* oklch */ color: oklch(94.2% 0.169 108.2);
Tailwind
colors: {
  custom: {
    50: '#fdf791',
    500: '#f7f45c',
    950: '#000000',
  },
}
SCSS
$custom: #f7f45c;
$custom-light: #fdf791;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f45c",
  "rgb": {
    "r": 247,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 58.839,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.94235,
    "c": 0.16915,
    "h": 108.2
  },
  "luminance": 0.85248
}

Semantic roles & 50–950 ramp

primary
#F7F45C
secondary
#2D30CA
accent
#04E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7F45C

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

Preview Lab → · Contrast checker → · Palette generator →

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