#F9F07D#F9F07D

#F9F07D is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.9% C 0.137 H 104.7°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#F9F07D
RGBrgb(249, 240, 125)
HSLhsl(56, 91%, 73%)
HSVhsv(56, 50%, 98%)
CMYKcmyk(0%, 3.6%, 49.8%, 2.4%)
CIE-LABlab(93.43, -11.83, 56.10)
CIE-LCHlch(93.43, 57.34, 101.91°)
OKLaboklab(93.92% -0.0348 0.1327)
OKLCHoklch(93.92% 0.137 104.7)
XYZxyz(73.9307, 83.9428, 31.7062)
Luminance0.8394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F07D #7D86F9
analogous
#F9B27D #F9F07D #C4F97D
triadic
#F9F07D #7DF9F0 #F07DF9
tetradic
#F9F07D #7DF9B2 #7D86F9 #F97DC4
square
#F9F07D #7DF9B2 #7D86F9 #F97DC4
split-complementary
#F9F07D #7DC4F9 #B27DF9
monochromatic
#F0E00B #F6E942 #F9F07D #FCF7B7 #FEFCE2

Accessibility & contrast

On white

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

On black

17.79
#F9F07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F07D
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F07D#FFFFFF#000000##000000
##F9F07D1.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE973
Deuteranopia (green-blind)
#FFEF82
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f9f07d;
/* rgb */ color: rgb(249, 240, 125);
/* oklch */ color: oklch(93.9% 0.137 104.7);
Tailwind
colors: {
  custom: {
    50: '#fdf4a5',
    500: '#f9f07d',
    950: '#000000',
  },
}
SCSS
$custom: #f9f07d;
$custom-light: #fdf4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f07d",
  "rgb": {
    "r": 249,
    "g": 240,
    "b": 125
  },
  "hsl": {
    "h": 55.645,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93922,
    "c": 0.13715,
    "h": 104.7
  },
  "luminance": 0.83941
}

Semantic roles & 50–950 ramp

primary
#F9F07D
secondary
#444FD6
accent
#11E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F07D

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

Preview Lab → · Contrast checker → · Palette generator →

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