#F5E05F#F5E05F

#F5E05F is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.0% C 0.149 H 100.1°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#F5E05F
RGBrgb(245, 224, 95)
HSLhsl(52, 88%, 67%)
HSVhsv(52, 61%, 96%)
CMYKcmyk(0%, 8.6%, 61.2%, 3.9%)
CIE-LABlab(88.71, -7.73, 64.03)
CIE-LCHlch(88.71, 64.49, 96.88°)
OKLaboklab(90% -0.0261 0.1465)
OKLCHoklch(90% 0.149 100.1)
XYZxyz(66.3801, 73.5528, 21.5248)
Luminance0.7355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E05F #5F74F5
analogous
#F5955F #F5E05F #BFF55F
triadic
#F5E05F #5FF5E0 #E05FF5
tetradic
#F5E05F #5FF595 #5F74F5 #F55FBF
square
#F5E05F #5FF595 #5F74F5 #F55FBF
split-complementary
#F5E05F #5FBFF5 #955FF5
monochromatic
#CDB20D #F1D525 #F5E05F #F9EB99 #FCF6D2

Accessibility & contrast

On white

1.34
#F5E05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.71
#F5E05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E05F
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E05F#FFFFFF#000000##000000
##F5E05F1.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA50
Deuteranopia (green-blind)
#F9E266
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5e05f;
/* rgb */ color: rgb(245, 224, 95);
/* oklch */ color: oklch(90.0% 0.149 100.1);
Tailwind
colors: {
  custom: {
    50: '#fce991',
    500: '#f5e05f',
    950: '#000000',
  },
}
SCSS
$custom: #f5e05f;
$custom-light: #fce991;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e05f",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 95
  },
  "hsl": {
    "h": 51.6,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90004,
    "c": 0.14881,
    "h": 100.1
  },
  "luminance": 0.7355
}

Semantic roles & 50–950 ramp

primary
#F5E05F
secondary
#2F45C9
accent
#21E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5E05F

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

Preview Lab → · Contrast checker → · Palette generator →

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