#F5D05F#F5D05F

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

Color values

HEX#F5D05F
RGBrgb(245, 208, 95)
HSLhsl(45, 88%, 67%)
HSVhsv(45, 61%, 96%)
CMYKcmyk(0%, 15.1%, 61.2%, 3.9%)
CIE-LABlab(84.67, 0.38, 59.57)
CIE-LCHlch(84.67, 59.57, 89.63°)
OKLaboklab(86.8% -0.0027 0.137)
OKLCHoklch(86.8% 0.137 91.1)
XYZxyz(62.2805, 65.3538, 20.1583)
Luminance0.6535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D05F #5F84F5
analogous
#F5855F #F5D05F #CFF55F
triadic
#F5D05F #5FF5D0 #D05FF5
tetradic
#F5D05F #5FF585 #5F84F5 #F55FCF
square
#F5D05F #5FF585 #5F84F5 #F55FCF
split-complementary
#F5D05F #5FCFF5 #855FF5
monochromatic
#CD9D0D #F1BF25 #F5D05F #F9E199 #FCF2D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5D05F#FFFFFF#000000##000000
##F5D05F1.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)
#E4CD53
Deuteranopia (green-blind)
#EED864
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f5d05f;
/* rgb */ color: rgb(245, 208, 95);
/* oklch */ color: oklch(86.8% 0.137 91.1);
Tailwind
colors: {
  custom: {
    50: '#fcde90',
    500: '#f5d05f',
    950: '#000000',
  },
}
SCSS
$custom: #f5d05f;
$custom-light: #fcde90;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d05f",
  "rgb": {
    "r": 245,
    "g": 208,
    "b": 95
  },
  "hsl": {
    "h": 45.2,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86804,
    "c": 0.13705,
    "h": 91.1
  },
  "luminance": 0.6535
}

Semantic roles & 50–950 ramp

primary
#F5D05F
secondary
#2F55C9
accent
#39E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D05F

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

Preview Lab → · Contrast checker → · Palette generator →

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