#F5D35B#F5D35B

#F5D35B is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.4% C 0.142 H 93.4°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#F5D35B
RGBrgb(245, 211, 91)
HSLhsl(47, 89%, 66%)
HSVhsv(47, 63%, 96%)
CMYKcmyk(0%, 13.9%, 62.9%, 3.9%)
CIE-LABlab(85.38, -1.41, 62.12)
CIE-LCHlch(85.38, 62.13, 91.30°)
OKLaboklab(87.36% -0.0084 0.1419)
OKLCHoklch(87.36% 0.142 93.4)
XYZxyz(62.8417, 66.7596, 19.4714)
Luminance0.6676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D35B #5B7DF5
analogous
#F5865B #F5D35B #CAF55B
triadic
#F5D35B #5BF5D3 #D35BF5
tetradic
#F5D35B #5BF586 #5B7DF5 #F55BCA
square
#F5D35B #5BF586 #5B7DF5 #F55BCA
split-complementary
#F5D35B #5BCAF5 #865BF5
monochromatic
#C9A00C #F1C421 #F5D35B #F9E295 #FCF2CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5D35B#FFFFFF#000000##000000
##F5D35B1.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)
#E8CF4D
Deuteranopia (green-blind)
#F0DA61
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d35b;
/* rgb */ color: rgb(245, 211, 91);
/* oklch */ color: oklch(87.4% 0.142 93.4);
Tailwind
colors: {
  custom: {
    50: '#fce08e',
    500: '#f5d35b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d35b;
$custom-light: #fce08e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d35b",
  "rgb": {
    "r": 245,
    "g": 211,
    "b": 91
  },
  "hsl": {
    "h": 46.753,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87359,
    "c": 0.14215,
    "h": 93.4
  },
  "luminance": 0.66756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5D35B

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

Preview Lab → · Contrast checker → · Palette generator →

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