#F5E06B#F5E06B

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

Color values

HEX#F5E06B
RGBrgb(245, 224, 107)
HSLhsl(51, 87%, 69%)
HSVhsv(51, 56%, 96%)
CMYKcmyk(0%, 8.6%, 56.3%, 3.9%)
CIE-LABlab(88.82, -6.90, 58.88)
CIE-LCHlch(88.82, 59.28, 96.69°)
OKLaboklab(90.13% -0.0224 0.137)
OKLCHoklch(90.13% 0.139 99.3)
XYZxyz(66.9681, 73.7880, 24.6221)
Luminance0.7379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E06B #6B80F5
analogous
#F59B6B #F5E06B #C5F56B
triadic
#F5E06B #6BF5E0 #E06BF5
tetradic
#F5E06B #6BF59B #6B80F5 #F56BC5
square
#F5E06B #6BF59B #6B80F5 #F56BC5
split-complementary
#F5E06B #6BC5F5 #9B6BF5
monochromatic
#D7B90F #F1D432 #F5E06B #F9ECA4 #FDF8DE

Accessibility & contrast

On white

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

On black

15.76
#F5E06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E06B
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E06B#FFFFFF#000000##000000
##F5E06B1.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e06b;
/* rgb */ color: rgb(245, 224, 107);
/* oklch */ color: oklch(90.1% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#fbe999',
    500: '#f5e06b',
    950: '#000000',
  },
}
SCSS
$custom: #f5e06b;
$custom-light: #fbe999;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e06b",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 107
  },
  "hsl": {
    "h": 50.87,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90129,
    "c": 0.13879,
    "h": 99.3
  },
  "luminance": 0.73785
}

Semantic roles & 50–950 ramp

primary
#F5E06B
secondary
#364DCE
accent
#24E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E06B

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

Preview Lab → · Contrast checker → · Palette generator →

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