#F9F37D#F9F37D

#F9F37D is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.5% C 0.140 H 106.2°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#F9F37D
RGBrgb(249, 243, 125)
HSLhsl(57, 91%, 73%)
HSVhsv(57, 50%, 98%)
CMYKcmyk(0%, 2.4%, 49.8%, 2.4%)
CIE-LABlab(94.19, -13.30, 57.01)
CIE-LCHlch(94.19, 58.55, 103.14°)
OKLaboklab(94.53% -0.039 0.1347)
OKLCHoklch(94.53% 0.14 106.2)
XYZxyz(74.8211, 85.7237, 32.0030)
Luminance0.8572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F37D #7D83F9
analogous
#F9B57D #F9F37D #C1F97D
triadic
#F9F37D #7DF9F3 #F37DF9
tetradic
#F9F37D #7DF9B5 #7D83F9 #F97DC1
square
#F9F37D #7DF9B5 #7D83F9 #F97DC1
split-complementary
#F9F37D #7DC1F9 #B57DF9
monochromatic
#F0E50B #F6EE42 #F9F37D #FCF8B7 #FEFCE2

Accessibility & contrast

On white

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

On black

18.14
#F9F37D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F37D
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F37D#FFFFFF#000000##000000
##F9F37D1.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB72
Deuteranopia (green-blind)
#FFF183
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f37d;
/* rgb */ color: rgb(249, 243, 125);
/* oklch */ color: oklch(94.5% 0.140 106.2);
Tailwind
colors: {
  custom: {
    50: '#fdf6a5',
    500: '#f9f37d',
    950: '#000000',
  },
}
SCSS
$custom: #f9f37d;
$custom-light: #fdf6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f37d",
  "rgb": {
    "r": 249,
    "g": 243,
    "b": 125
  },
  "hsl": {
    "h": 57.097,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94533,
    "c": 0.1402,
    "h": 106.2
  },
  "luminance": 0.85722
}

Semantic roles & 50–950 ramp

primary
#F9F37D
secondary
#444BD6
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F37D

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

Preview Lab → · Contrast checker → · Palette generator →

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