#F9F382#F9F382

#F9F382 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.6% C 0.135 H 106.0°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#F9F382
RGBrgb(249, 243, 130)
HSLhsl(57, 91%, 74%)
HSVhsv(57, 48%, 98%)
CMYKcmyk(0%, 2.4%, 47.8%, 2.4%)
CIE-LABlab(94.25, -12.87, 54.76)
CIE-LCHlch(94.25, 56.26, 103.23°)
OKLaboklab(94.6% -0.0373 0.1301)
OKLCHoklch(94.6% 0.135 106)
XYZxyz(75.1486, 85.8547, 33.7278)
Luminance0.8585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F382 #8288F9
analogous
#F9B882 #F9F382 #C4F982
triadic
#F9F382 #82F9F3 #F382F9
tetradic
#F9F382 #82F9B8 #8288F9 #F982C4
square
#F9F382 #82F9B8 #8288F9 #F982C4
split-complementary
#F9F382 #82C4F9 #B882F9
monochromatic
#F3E80D #F6ED48 #F9F382 #FCF9BC #FEFCE2

Accessibility & contrast

On white

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

On black

18.17
#F9F382 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F382
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F382#FFFFFF#000000##000000
##F9F3821.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC78
Deuteranopia (green-blind)
#FFF187
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f382;
/* rgb */ color: rgb(249, 243, 130);
/* oklch */ color: oklch(94.6% 0.135 106.0);
Tailwind
colors: {
  custom: {
    50: '#fdf6a9',
    500: '#f9f382',
    950: '#000000',
  },
}
SCSS
$custom: #f9f382;
$custom-light: #fdf6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f382",
  "rgb": {
    "r": 249,
    "g": 243,
    "b": 130
  },
  "hsl": {
    "h": 56.975,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.94596,
    "c": 0.13539,
    "h": 106
  },
  "luminance": 0.85853
}

Semantic roles & 50–950 ramp

primary
#F9F382
secondary
#4950D6
accent
#0CE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F382

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

Preview Lab → · Contrast checker → · Palette generator →

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