#F5D45A#F5D45A

#F5D45A is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.5% C 0.144 H 94.1°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#F5D45A
RGBrgb(245, 212, 90)
HSLhsl(47, 89%, 66%)
HSVhsv(47, 63%, 96%)
CMYKcmyk(0%, 13.5%, 63.3%, 3.9%)
CIE-LABlab(85.63, -1.98, 62.81)
CIE-LCHlch(85.63, 62.84, 91.80°)
OKLaboklab(87.55% -0.0101 0.1432)
OKLCHoklch(87.55% 0.144 94.1)
XYZxyz(63.0481, 67.2409, 19.3288)
Luminance0.6724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D45A #5A7BF5
analogous
#F5865A #F5D45A #C8F55A
triadic
#F5D45A #5AF5D4 #D45AF5
tetradic
#F5D45A #5AF586 #5A7BF5 #F55AC8
square
#F5D45A #5AF586 #5A7BF5 #F55AC8
split-complementary
#F5D45A #5AC8F5 #865AF5
monochromatic
#C8A00C #F2C520 #F5D45A #F8E394 #FCF2CD

Accessibility & contrast

On white

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

On black

14.45
#F5D45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D45A
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D45A#FFFFFF#000000##000000
##F5D45A1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D04C
Deuteranopia (green-blind)
#F1DA60
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f5d45a;
/* rgb */ color: rgb(245, 212, 90);
/* oklch */ color: oklch(87.5% 0.144 94.1);
Tailwind
colors: {
  custom: {
    50: '#fce08d',
    500: '#f5d45a',
    950: '#000000',
  },
}
SCSS
$custom: #f5d45a;
$custom-light: #fce08d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d45a",
  "rgb": {
    "r": 245,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 47.226,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87548,
    "c": 0.14359,
    "h": 94.1
  },
  "luminance": 0.67238
}

Semantic roles & 50–950 ramp

primary
#F5D45A
secondary
#2E4EC5
accent
#31E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D45A

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

Preview Lab → · Contrast checker → · Palette generator →

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