#F9F37B#F9F37B

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

Color values

HEX#F9F37B
RGBrgb(249, 243, 123)
HSLhsl(57, 91%, 73%)
HSVhsv(57, 51%, 98%)
CMYKcmyk(0%, 2.4%, 50.6%, 2.4%)
CIE-LABlab(94.17, -13.47, 57.91)
CIE-LCHlch(94.17, 59.45, 103.10°)
OKLaboklab(94.51% -0.0397 0.1364)
OKLCHoklch(94.51% 0.142 106.2)
XYZxyz(74.6946, 85.6731, 31.3369)
Luminance0.8567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F37B #7B81F9
analogous
#F9B47B #F9F37B #C0F97B
triadic
#F9F37B #7BF9F3 #F37BF9
tetradic
#F9F37B #7BF9B4 #7B81F9 #F97BC0
square
#F9F37B #7BF9B4 #7B81F9 #F97BC0
split-complementary
#F9F37B #7BC0F9 #B47BF9
monochromatic
#EFE40B #F6EE40 #F9F37B #FCF8B6 #FEFCE2

Accessibility & contrast

On white

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

On black

18.13
#F9F37B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F37B
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F37B#FFFFFF#000000##000000
##F9F37B1.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9f37b;
/* rgb */ color: rgb(249, 243, 123);
/* oklch */ color: oklch(94.5% 0.142 106.2);
Tailwind
colors: {
  custom: {
    50: '#fdf6a4',
    500: '#f9f37b',
    950: '#000000',
  },
}
SCSS
$custom: #f9f37b;
$custom-light: #fdf6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f37b",
  "rgb": {
    "r": 249,
    "g": 243,
    "b": 123
  },
  "hsl": {
    "h": 57.143,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94509,
    "c": 0.14208,
    "h": 106.2
  },
  "luminance": 0.85671
}

Semantic roles & 50–950 ramp

primary
#F9F37B
secondary
#434AD6
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F37B

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

Preview Lab → · Contrast checker → · Palette generator →

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