#F5D13B#F5D13B

#F5D13B is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.7% C 0.162 H 94.8°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#F5D13B
RGBrgb(245, 209, 59)
HSLhsl(48, 90%, 60%)
HSVhsv(48, 76%, 96%)
CMYKcmyk(0%, 14.7%, 75.9%, 3.9%)
CIE-LABlab(84.65, -1.98, 73.76)
CIE-LCHlch(84.65, 73.79, 91.54°)
OKLaboklab(86.71% -0.0135 0.1611)
OKLCHoklch(86.71% 0.162 94.8)
XYZxyz(61.2494, 65.3327, 13.5212)
Luminance0.6533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D13B #3B5FF5
analogous
#F5743B #F5D13B #BCF53B
triadic
#F5D13B #3BF5D1 #D13BF5
tetradic
#F5D13B #3BF574 #3B5FF5 #F53BBC
square
#F5D13B #3BF574 #3B5FF5 #F53BBC
split-complementary
#F5D13B #3BBCF5 #743BF5
monochromatic
#AD8D09 #E7BD0C #F5D13B #F8DF75 #FBECAF

Accessibility & contrast

On white

1.49
#F5D13B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#F5D13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D13B
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D13B#FFFFFF#000000##000000
##F5D13B1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD1C
Deuteranopia (green-blind)
#F0D845
Tritanopia (blue-blind)
#FFC0B4
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f5d13b;
/* rgb */ color: rgb(245, 209, 59);
/* oklch */ color: oklch(86.7% 0.162 94.8);
Tailwind
colors: {
  custom: {
    50: '#fdde7c',
    500: '#f5d13b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d13b;
$custom-light: #fdde7c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d13b",
  "rgb": {
    "r": 245,
    "g": 209,
    "b": 59
  },
  "hsl": {
    "h": 48.387,
    "s": 90.291,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86712,
    "c": 0.1617,
    "h": 94.8
  },
  "luminance": 0.65329
}

Semantic roles & 50–950 ramp

primary
#F5D13B
secondary
#2741AD
accent
#52FF29
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150A
muted
#87847D

Preview Lab

Preview with #F5D13B

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

Preview Lab → · Contrast checker → · Palette generator →

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