#F5D35A#F5D35A

#F5D35A is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.143 H 93.5°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#F5D35A
RGBrgb(245, 211, 90)
HSLhsl(47, 89%, 66%)
HSVhsv(47, 63%, 96%)
CMYKcmyk(0%, 13.9%, 63.3%, 3.9%)
CIE-LABlab(85.37, -1.47, 62.54)
CIE-LCHlch(85.37, 62.56, 91.35°)
OKLaboklab(87.35% -0.0087 0.1427)
OKLCHoklch(87.35% 0.143 93.5)
XYZxyz(62.7989, 66.7425, 19.2457)
Luminance0.6674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D35A #5A7CF5
analogous
#F5855A #F5D35A #C9F55A
triadic
#F5D35A #5AF5D3 #D35AF5
tetradic
#F5D35A #5AF585 #5A7CF5 #F55AC9
square
#F5D35A #5AF585 #5A7CF5 #F55AC9
split-complementary
#F5D35A #5AC9F5 #855AF5
monochromatic
#C89F0C #F2C420 #F5D35A #F8E294 #FCF2CD

Accessibility & contrast

On white

1.46
#F5D35A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#F5D35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D35A
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D35A#FFFFFF#000000##000000
##F5D35A1.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF4C
Deuteranopia (green-blind)
#F0DA60
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d35a;
/* rgb */ color: rgb(245, 211, 90);
/* oklch */ color: oklch(87.3% 0.143 93.5);
Tailwind
colors: {
  custom: {
    50: '#fce08d',
    500: '#f5d35a',
    950: '#000000',
  },
}
SCSS
$custom: #f5d35a;
$custom-light: #fce08d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d35a",
  "rgb": {
    "r": 245,
    "g": 211,
    "b": 90
  },
  "hsl": {
    "h": 46.839,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87349,
    "c": 0.14291,
    "h": 93.5
  },
  "luminance": 0.66739
}

Semantic roles & 50–950 ramp

primary
#F5D35A
secondary
#2E4FC5
accent
#33E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D35A

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

Preview Lab → · Contrast checker → · Palette generator →

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