#F9D858#F9D858

#F9D858 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.7% C 0.148 H 94.7°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#F9D858
RGBrgb(249, 216, 88)
HSLhsl(48, 93%, 66%)
HSVhsv(48, 65%, 98%)
CMYKcmyk(0%, 13.3%, 64.7%, 2.4%)
CIE-LABlab(86.98, -2.48, 65.22)
CIE-LCHlch(86.98, 65.27, 92.17°)
OKLaboklab(88.7% -0.012 0.1479)
OKLCHoklch(88.7% 0.148 94.7)
XYZxyz(65.3873, 69.9594, 19.2900)
Luminance0.6996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D858 #5879F9
analogous
#F98758 #F9D858 #C9F958
triadic
#F9D858 #58F9D8 #D858F9
tetradic
#F9D858 #58F987 #5879F9 #F958C9
square
#F9D858 #58F987 #5879F9 #F958C9
split-complementary
#F9D858 #58C9F9 #8758F9
monochromatic
#CFA607 #F7CA1D #F9D858 #FBE693 #FDF4CE

Accessibility & contrast

On white

1.40
#F9D858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.99
#F9D858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D858
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D858#FFFFFF#000000##000000
##F9D8581.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD449
Deuteranopia (green-blind)
#F5DE5E
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f9d858;
/* rgb */ color: rgb(249, 216, 88);
/* oklch */ color: oklch(88.7% 0.148 94.7);
Tailwind
colors: {
  custom: {
    50: '#ffe38d',
    500: '#f9d858',
    950: '#000000',
  },
}
SCSS
$custom: #f9d858;
$custom-light: #ffe38d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d858",
  "rgb": {
    "r": 249,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 47.702,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.88696,
    "c": 0.14842,
    "h": 94.7
  },
  "luminance": 0.69956
}

Semantic roles & 50–950 ramp

primary
#F9D858
secondary
#2B4BCA
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F9D858

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

Preview Lab → · Contrast checker → · Palette generator →

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