#F9F07B#F9F07B

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

Color values

HEX#F9F07B
RGBrgb(249, 240, 123)
HSLhsl(56, 91%, 73%)
HSVhsv(56, 51%, 98%)
CMYKcmyk(0%, 3.6%, 50.6%, 2.4%)
CIE-LABlab(93.40, -12.00, 57.00)
CIE-LCHlch(93.40, 58.25, 101.89°)
OKLaboklab(93.9% -0.0355 0.1344)
OKLCHoklch(93.9% 0.139 104.8)
XYZxyz(73.8042, 83.8922, 31.0401)
Luminance0.8389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F07B #7B84F9
analogous
#F9B17B #F9F07B #C3F97B
triadic
#F9F07B #7BF9F0 #F07BF9
tetradic
#F9F07B #7BF9B1 #7B84F9 #F97BC3
square
#F9F07B #7BF9B1 #7B84F9 #F97BC3
split-complementary
#F9F07B #7BC3F9 #B17BF9
monochromatic
#EFDE0B #F6E940 #F9F07B #FCF7B6 #FEFCE2

Accessibility & contrast

On white

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

On black

17.78
#F9F07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F07B
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F07B#FFFFFF#000000##000000
##F9F07B1.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE970
Deuteranopia (green-blind)
#FFEF81
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f9f07b;
/* rgb */ color: rgb(249, 240, 123);
/* oklch */ color: oklch(93.9% 0.139 104.8);
Tailwind
colors: {
  custom: {
    50: '#fdf4a4',
    500: '#f9f07b',
    950: '#000000',
  },
}
SCSS
$custom: #f9f07b;
$custom-light: #fdf4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f07b",
  "rgb": {
    "r": 249,
    "g": 240,
    "b": 123
  },
  "hsl": {
    "h": 55.714,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93898,
    "c": 0.13905,
    "h": 104.8
  },
  "luminance": 0.8389
}

Semantic roles & 50–950 ramp

primary
#F9F07B
secondary
#434DD6
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F07B

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

Preview Lab → · Contrast checker → · Palette generator →

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