#F9D35F#F9D35F

#F9D35F is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.8% C 0.140 H 91.1°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#F9D35F
RGBrgb(249, 211, 95)
HSLhsl(45, 93%, 67%)
HSVhsv(45, 62%, 98%)
CMYKcmyk(0%, 15.3%, 61.8%, 2.4%)
CIE-LABlab(85.78, 0.50, 60.92)
CIE-LCHlch(85.78, 60.92, 89.53°)
OKLaboklab(87.77% -0.0027 0.1398)
OKLCHoklch(87.77% 0.14 91.1)
XYZxyz(64.4298, 67.5580, 20.4706)
Luminance0.6755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D35F #5F85F9
analogous
#F9865F #F9D35F #D2F95F
triadic
#F9D35F #5FF9D3 #D35FF9
tetradic
#F9D35F #5FF986 #5F85F9 #F95FD2
square
#F9D35F #5FF986 #5F85F9 #F95FD2
split-complementary
#F9D35F #5FD2F9 #865FF9
monochromatic
#D6A308 #F7C324 #F9D35F #FBE39A #FDF3D5

Accessibility & contrast

On white

1.45
#F9D35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#F9D35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D35F
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D35F#FFFFFF#000000##000000
##F9D35F1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D052
Deuteranopia (green-blind)
#F1DB64
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f9d35f;
/* rgb */ color: rgb(249, 211, 95);
/* oklch */ color: oklch(87.8% 0.140 91.1);
Tailwind
colors: {
  custom: {
    50: '#ffe091',
    500: '#f9d35f',
    950: '#000000',
  },
}
SCSS
$custom: #f9d35f;
$custom-light: #ffe091;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d35f",
  "rgb": {
    "r": 249,
    "g": 211,
    "b": 95
  },
  "hsl": {
    "h": 45.195,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87773,
    "c": 0.13982,
    "h": 91.1
  },
  "luminance": 0.67554
}

Semantic roles & 50–950 ramp

primary
#F9D35F
secondary
#2C55D0
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D35F

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

Preview Lab → · Contrast checker → · Palette generator →

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