#F5E05E#F5E05E

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

Color values

HEX#F5E05E
RGBrgb(245, 224, 94)
HSLhsl(52, 88%, 66%)
HSVhsv(52, 62%, 96%)
CMYKcmyk(0%, 8.6%, 61.6%, 3.9%)
CIE-LABlab(88.70, -7.79, 64.44)
CIE-LCHlch(88.70, 64.91, 96.89°)
OKLaboklab(90% -0.0264 0.1473)
OKLCHoklch(90% 0.15 100.1)
XYZxyz(66.3349, 73.5348, 21.2870)
Luminance0.7353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E05E #5E73F5
analogous
#F5955E #F5E05E #BEF55E
triadic
#F5E05E #5EF5E0 #E05EF5
tetradic
#F5E05E #5EF595 #5E73F5 #F55EBE
square
#F5E05E #5EF595 #5E73F5 #F55EBE
split-complementary
#F5E05E #5EBEF5 #955EF5
monochromatic
#CCB10D #F1D524 #F5E05E #F9EB98 #FCF6D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5E05E#FFFFFF#000000##000000
##F5E05E1.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)
#F4DA4F
Deuteranopia (green-blind)
#F9E265
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5e05e;
/* rgb */ color: rgb(245, 224, 94);
/* oklch */ color: oklch(90.0% 0.150 100.1);
Tailwind
colors: {
  custom: {
    50: '#fce991',
    500: '#f5e05e',
    950: '#000000',
  },
}
SCSS
$custom: #f5e05e;
$custom-light: #fce991;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e05e",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 94
  },
  "hsl": {
    "h": 51.656,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.89995,
    "c": 0.1496,
    "h": 100.1
  },
  "luminance": 0.73532
}

Semantic roles & 50–950 ramp

primary
#F5E05E
secondary
#2F44C8
accent
#20E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5E05E

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

Preview Lab → · Contrast checker → · Palette generator →

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