#F8F452#F8F452

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

Color values

HEX#F8F452
RGBrgb(248, 244, 82)
HSLhsl(59, 92%, 65%)
HSVhsv(59, 67%, 97%)
CMYKcmyk(0%, 1.6%, 66.9%, 2.7%)
CIE-LABlab(94.00, -17.10, 74.81)
CIE-LCHlch(94.00, 76.74, 102.88°)
OKLaboklab(94.24% -0.0542 0.1673)
OKLCHoklch(94.24% 0.176 108)
XYZxyz(72.5877, 85.2693, 20.6160)
Luminance0.8527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F452 #5256F8
analogous
#F8A152 #F8F452 #A9F852
triadic
#F8F452 #52F8F4 #F452F8
tetradic
#F8F452 #52F8A1 #5256F8 #F852A9
square
#F8F452 #52F8A1 #5256F8 #F852A9
split-complementary
#F8F452 #52A9F8 #A152F8
monochromatic
#C8C308 #F6F017 #F8F452 #FAF88D #FDFBC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F452#FFFFFF#000000##000000
##F8F4521.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)
#FFEB39
Deuteranopia (green-blind)
#FFF05D
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f452;
/* rgb */ color: rgb(248, 244, 82);
/* oklch */ color: oklch(94.2% 0.176 108.0);
Tailwind
colors: {
  custom: {
    50: '#fef78b',
    500: '#f8f452',
    950: '#000000',
  },
}
SCSS
$custom: #f8f452;
$custom-light: #fef78b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f452",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 82
  },
  "hsl": {
    "h": 58.554,
    "s": 92.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.94239,
    "c": 0.17585,
    "h": 108
  },
  "luminance": 0.85267
}

Semantic roles & 50–950 ramp

primary
#F8F452
secondary
#2A2EC4
accent
#06E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F8F452

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

Preview Lab → · Contrast checker → · Palette generator →

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