#F8D35B#F8D35B

#F8D35B is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.6% C 0.143 H 92.0°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#F8D35B
RGBrgb(248, 211, 91)
HSLhsl(46, 92%, 66%)
HSVhsv(46, 63%, 97%)
CMYKcmyk(0%, 14.9%, 63.3%, 2.7%)
CIE-LABlab(85.66, -0.17, 62.50)
CIE-LCHlch(85.66, 62.50, 90.15°)
OKLaboklab(87.64% -0.005 0.1426)
OKLCHoklch(87.64% 0.143 92)
XYZxyz(63.8971, 67.3038, 19.5208)
Luminance0.6730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D35B #5B80F8
analogous
#F8855B #F8D35B #CFF85B
triadic
#F8D35B #5BF8D3 #D35BF8
tetradic
#F8D35B #5BF885 #5B80F8 #F85BCF
square
#F8D35B #5BF885 #5B80F8 #F85BCF
split-complementary
#F8D35B #5BCFF8 #855BF8
monochromatic
#D0A109 #F5C320 #F8D35B #FBE396 #FDF2D0

Accessibility & contrast

On white

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

On black

14.46
#F8D35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D35B
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D35B#FFFFFF#000000##000000
##F8D35B1.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04D
Deuteranopia (green-blind)
#F1DB60
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f8d35b;
/* rgb */ color: rgb(248, 211, 91);
/* oklch */ color: oklch(87.6% 0.143 92.0);
Tailwind
colors: {
  custom: {
    50: '#fee08e',
    500: '#f8d35b',
    950: '#000000',
  },
}
SCSS
$custom: #f8d35b;
$custom-light: #fee08e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d35b",
  "rgb": {
    "r": 248,
    "g": 211,
    "b": 91
  },
  "hsl": {
    "h": 45.86,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8764,
    "c": 0.14271,
    "h": 92
  },
  "luminance": 0.673
}

Semantic roles & 50–950 ramp

primary
#F8D35B
secondary
#2C52CB
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D35B

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

Preview Lab → · Contrast checker → · Palette generator →

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