#F9F38E#F9F38E

#F9F38E is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.8% C 0.123 H 105.5°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#F9F38E
RGBrgb(249, 243, 142)
HSLhsl(57, 90%, 77%)
HSVhsv(57, 43%, 98%)
CMYKcmyk(0%, 2.4%, 43%, 2.4%)
CIE-LABlab(94.40, -11.76, 49.26)
CIE-LCHlch(94.40, 50.64, 103.43°)
OKLaboklab(94.76% -0.033 0.1188)
OKLCHoklch(94.76% 0.123 105.5)
XYZxyz(76.0015, 86.1959, 38.2198)
Luminance0.8619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F38E #8E94F9
analogous
#F9BE8E #F9F38E #C9F98E
triadic
#F9F38E #8EF9F3 #F38EF9
tetradic
#F9F38E #8EF9BE #8E94F9 #F98EC9
square
#F9F38E #8EF9BE #8E94F9 #F98EC9
split-complementary
#F9F38E #8EC9F9 #BE8EF9
monochromatic
#F3E71A #F6ED54 #F9F38E #FCF9C8 #FDFCE2

Accessibility & contrast

On white

1.15
#F9F38E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#F9F38E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F38E
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F38E#FFFFFF#000000##000000
##F9F38E1.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC86
Deuteranopia (green-blind)
#FFF192
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f38e;
/* rgb */ color: rgb(249, 243, 142);
/* oklch */ color: oklch(94.8% 0.123 105.5);
Tailwind
colors: {
  custom: {
    50: '#fdf6b1',
    500: '#f9f38e',
    950: '#000000',
  },
}
SCSS
$custom: #f9f38e;
$custom-light: #fdf6b1;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f38e",
  "rgb": {
    "r": 249,
    "g": 243,
    "b": 142
  },
  "hsl": {
    "h": 56.636,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94759,
    "c": 0.12327,
    "h": 105.5
  },
  "luminance": 0.86194
}

Semantic roles & 50–950 ramp

primary
#F9F38E
secondary
#535BD8
accent
#0DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F9F38E

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

Preview Lab → · Contrast checker → · Palette generator →

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