#F8D56B#F8D56B

#F8D56B is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.2% C 0.131 H 91.3°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#F8D56B
RGBrgb(248, 213, 107)
HSLhsl(45, 91%, 70%)
HSVhsv(45, 57%, 97%)
CMYKcmyk(0%, 14.1%, 56.9%, 2.7%)
CIE-LABlab(86.31, -0.11, 56.06)
CIE-LCHlch(86.31, 56.06, 90.11°)
OKLaboklab(88.21% -0.0029 0.1308)
OKLCHoklch(88.21% 0.131 91.3)
XYZxyz(65.1623, 68.6098, 23.7178)
Luminance0.6861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D56B #6B8EF8
analogous
#F88E6B #F8D56B #D5F86B
triadic
#F8D56B #6BF8D5 #D56BF8
tetradic
#F8D56B #6BF88E #6B8EF8 #F86BD5
square
#F8D56B #6BF88E #6B8EF8 #F86BD5
split-complementary
#F8D56B #6BD5F8 #8E6BF8
monochromatic
#DEAA0B #F5C431 #F8D56B #FBE6A5 #FEF6E0

Accessibility & contrast

On white

1.43
#F8D56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#F8D56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D56B
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D56B#FFFFFF#000000##000000
##F8D56B1.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D261
Deuteranopia (green-blind)
#F2DC6F
Tritanopia (blue-blind)
#FFC6BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f8d56b;
/* rgb */ color: rgb(248, 213, 107);
/* oklch */ color: oklch(88.2% 0.131 91.3);
Tailwind
colors: {
  custom: {
    50: '#fde198',
    500: '#f8d56b',
    950: '#000000',
  },
}
SCSS
$custom: #f8d56b;
$custom-light: #fde198;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d56b",
  "rgb": {
    "r": 248,
    "g": 213,
    "b": 107
  },
  "hsl": {
    "h": 45.106,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88205,
    "c": 0.13087,
    "h": 91.3
  },
  "luminance": 0.68606
}

Semantic roles & 50–950 ramp

primary
#F8D56B
secondary
#355CD2
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D56B

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

Preview Lab → · Contrast checker → · Palette generator →

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