#F8D35F#F8D35F

#F8D35F is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.7% C 0.140 H 91.6°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#F8D35F
RGBrgb(248, 211, 95)
HSLhsl(45, 92%, 67%)
HSVhsv(45, 62%, 97%)
CMYKcmyk(0%, 14.9%, 61.7%, 2.7%)
CIE-LABlab(85.69, 0.08, 60.79)
CIE-LCHlch(85.69, 60.79, 89.92°)
OKLaboklab(87.68% -0.0038 0.1395)
OKLCHoklch(87.68% 0.14 91.6)
XYZxyz(64.0742, 67.3747, 20.4539)
Luminance0.6737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D35F #5F84F8
analogous
#F8865F #F8D35F #D1F85F
triadic
#F8D35F #5FF8D3 #D35FF8
tetradic
#F8D35F #5FF886 #5F84F8 #F85FD1
square
#F8D35F #5FF886 #5F84F8 #F85FD1
split-complementary
#F8D35F #5FD1F8 #865FF8
monochromatic
#D3A209 #F5C324 #F8D35F #FBE39A #FDF3D4

Accessibility & contrast

On white

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

On black

14.47
#F8D35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D35F
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D35F#FFFFFF#000000##000000
##F8D35F1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.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: #f8d35f;
/* rgb */ color: rgb(248, 211, 95);
/* oklch */ color: oklch(87.7% 0.140 91.6);
Tailwind
colors: {
  custom: {
    50: '#fee091',
    500: '#f8d35f',
    950: '#000000',
  },
}
SCSS
$custom: #f8d35f;
$custom-light: #fee091;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d35f",
  "rgb": {
    "r": 248,
    "g": 211,
    "b": 95
  },
  "hsl": {
    "h": 45.49,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87679,
    "c": 0.13959,
    "h": 91.6
  },
  "luminance": 0.67371
}

Semantic roles & 50–950 ramp

primary
#F8D35F
secondary
#2D54CE
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D35F

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

Preview Lab → · Contrast checker → · Palette generator →

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