#F9E07B#F9E07B

#F9E07B is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.7% C 0.124 H 95.8°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#F9E07B
RGBrgb(249, 224, 123)
HSLhsl(48, 91%, 73%)
HSVhsv(48, 51%, 98%)
CMYKcmyk(0%, 10%, 50.6%, 2.4%)
CIE-LABlab(89.34, -4.02, 52.15)
CIE-LCHlch(89.34, 52.30, 94.41°)
OKLaboklab(90.68% -0.0125 0.1238)
OKLCHoklch(90.68% 0.124 95.8)
XYZxyz(69.3001, 74.8840, 29.5387)
Luminance0.7488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E07B #7B94F9
analogous
#F9A17B #F9E07B #D3F97B
triadic
#F9E07B #7BF9E0 #E07BF9
tetradic
#F9E07B #7BF9A1 #7B94F9 #F97BD3
square
#F9E07B #7BF9A1 #7B94F9 #F97BD3
split-complementary
#F9E07B #7BD3F9 #A17BF9
monochromatic
#EFC20B #F6D240 #F9E07B #FCEEB6 #FEF8E2

Accessibility & contrast

On white

1.31
#F9E07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#F9E07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E07B
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E07B#FFFFFF#000000##000000
##F9E07B1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC72
Deuteranopia (green-blind)
#F9E47F
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f9e07b;
/* rgb */ color: rgb(249, 224, 123);
/* oklch */ color: oklch(90.7% 0.124 95.8);
Tailwind
colors: {
  custom: {
    50: '#fde9a3',
    500: '#f9e07b',
    950: '#000000',
  },
}
SCSS
$custom: #f9e07b;
$custom-light: #fde9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e07b",
  "rgb": {
    "r": 249,
    "g": 224,
    "b": 123
  },
  "hsl": {
    "h": 48.095,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90675,
    "c": 0.12446,
    "h": 95.8
  },
  "luminance": 0.74881
}

Semantic roles & 50–950 ramp

primary
#F9E07B
secondary
#4360D6
accent
#2EE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E07B

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

Preview Lab → · Contrast checker → · Palette generator →

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