#F5D867#F5D867

#F5D867 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.5% C 0.136 H 95.1°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#F5D867
RGBrgb(245, 216, 103)
HSLhsl(48, 88%, 68%)
HSVhsv(48, 58%, 96%)
CMYKcmyk(0%, 11.8%, 58%, 3.9%)
CIE-LABlab(86.75, -3.15, 58.33)
CIE-LCHlch(86.75, 58.41, 93.09°)
OKLaboklab(88.48% -0.012 0.1353)
OKLCHoklch(88.48% 0.136 95.1)
XYZxyz(64.6629, 69.5065, 22.8394)
Luminance0.6950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D867 #6784F5
analogous
#F59167 #F5D867 #CBF567
triadic
#F5D867 #67F5D8 #D867F5
tetradic
#F5D867 #67F591 #6784F5 #F567CB
square
#F5D867 #67F591 #6784F5 #F567CB
split-complementary
#F5D867 #67CBF5 #9167F5
monochromatic
#D4AB0E #F1C92E #F5D867 #F9E7A0 #FDF5DA

Accessibility & contrast

On white

1.41
#F5D867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#F5D867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D867
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D867#FFFFFF#000000##000000
##F5D8671.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD45C
Deuteranopia (green-blind)
#F3DD6C
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d867;
/* rgb */ color: rgb(245, 216, 103);
/* oklch */ color: oklch(88.5% 0.136 95.1);
Tailwind
colors: {
  custom: {
    50: '#fbe396',
    500: '#f5d867',
    950: '#000000',
  },
}
SCSS
$custom: #f5d867;
$custom-light: #fbe396;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d867",
  "rgb": {
    "r": 245,
    "g": 216,
    "b": 103
  },
  "hsl": {
    "h": 47.746,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88479,
    "c": 0.13587,
    "h": 95.1
  },
  "luminance": 0.69503
}

Semantic roles & 50–950 ramp

primary
#F5D867
secondary
#3252CE
accent
#30E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D867

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

Preview Lab → · Contrast checker → · Palette generator →

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