#F5E06A#F5E06A

#F5E06A is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.1% C 0.140 H 99.3°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#F5E06A
RGBrgb(245, 224, 106)
HSLhsl(51, 87%, 69%)
HSVhsv(51, 57%, 96%)
CMYKcmyk(0%, 8.6%, 56.7%, 3.9%)
CIE-LABlab(88.81, -6.98, 59.32)
CIE-LCHlch(88.81, 59.73, 96.71°)
OKLaboklab(90.12% -0.0227 0.1378)
OKLCHoklch(90.12% 0.14 99.3)
XYZxyz(66.9158, 73.7671, 24.3466)
Luminance0.7376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E06A #6A7FF5
analogous
#F59B6A #F5E06A #C5F56A
triadic
#F5E06A #6AF5E0 #E06AF5
tetradic
#F5E06A #6AF59B #6A7FF5 #F56AC5
square
#F5E06A #6AF59B #6A7FF5 #F56AC5
split-complementary
#F5E06A #6AC5F5 #9B6AF5
monochromatic
#D6B80E #F1D431 #F5E06A #F9ECA3 #FDF8DD

Accessibility & contrast

On white

1.33
#F5E06A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#F5E06A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E06A
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E06A#FFFFFF#000000##000000
##F5E06A1.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB5E
Deuteranopia (green-blind)
#F9E270
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5e06a;
/* rgb */ color: rgb(245, 224, 106);
/* oklch */ color: oklch(90.1% 0.140 99.3);
Tailwind
colors: {
  custom: {
    50: '#fbe998',
    500: '#f5e06a',
    950: '#000000',
  },
}
SCSS
$custom: #f5e06a;
$custom-light: #fbe998;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e06a",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 106
  },
  "hsl": {
    "h": 50.935,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90118,
    "c": 0.13967,
    "h": 99.3
  },
  "luminance": 0.73764
}

Semantic roles & 50–950 ramp

primary
#F5E06A
secondary
#354CCE
accent
#24E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E06A

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

Preview Lab → · Contrast checker → · Palette generator →

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