#F5D85E#F5D85E

#F5D85E is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.4% C 0.143 H 95.9°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#F5D85E
RGBrgb(245, 216, 94)
HSLhsl(48, 88%, 66%)
HSVhsv(48, 62%, 96%)
CMYKcmyk(0%, 11.8%, 61.6%, 3.9%)
CIE-LABlab(86.67, -3.76, 62.23)
CIE-LCHlch(86.67, 62.34, 93.46°)
OKLaboklab(88.39% -0.0148 0.1425)
OKLCHoklch(88.39% 0.143 95.9)
XYZxyz(64.2352, 69.3355, 20.5871)
Luminance0.6933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D85E #5E7BF5
analogous
#F58D5E #F5D85E #C7F55E
triadic
#F5D85E #5EF5D8 #D85EF5
tetradic
#F5D85E #5EF58D #5E7BF5 #F55EC7
square
#F5D85E #5EF58D #5E7BF5 #F55EC7
split-complementary
#F5D85E #5EC7F5 #8D5EF5
monochromatic
#CCA70D #F1CA24 #F5D85E #F9E698 #FCF4D1

Accessibility & contrast

On white

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

On black

14.87
#F5D85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D85E
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D85E#FFFFFF#000000##000000
##F5D85E1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD450
Deuteranopia (green-blind)
#F4DD64
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d85e;
/* rgb */ color: rgb(245, 216, 94);
/* oklch */ color: oklch(88.4% 0.143 95.9);
Tailwind
colors: {
  custom: {
    50: '#fce390',
    500: '#f5d85e',
    950: '#000000',
  },
}
SCSS
$custom: #f5d85e;
$custom-light: #fce390;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d85e",
  "rgb": {
    "r": 245,
    "g": 216,
    "b": 94
  },
  "hsl": {
    "h": 48.477,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88385,
    "c": 0.14331,
    "h": 95.9
  },
  "luminance": 0.69332
}

Semantic roles & 50–950 ramp

primary
#F5D85E
secondary
#2F4DC8
accent
#2CE501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D85E

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

Preview Lab → · Contrast checker → · Palette generator →

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