#F5DE6C#F5DE6C

#F5DE6C is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.7% C 0.136 H 98.1°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#F5DE6C
RGBrgb(245, 222, 108)
HSLhsl(50, 87%, 69%)
HSVhsv(50, 56%, 96%)
CMYKcmyk(0%, 9.4%, 55.9%, 3.9%)
CIE-LABlab(88.32, -5.82, 57.86)
CIE-LCHlch(88.32, 58.15, 95.75°)
OKLaboklab(89.74% -0.0191 0.1349)
OKLCHoklch(89.74% 0.136 98.1)
XYZxyz(66.4867, 72.7405, 24.7226)
Luminance0.7274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE6C #6C83F5
analogous
#F59A6C #F5DE6C #C8F56C
triadic
#F5DE6C #6CF5DE #DE6CF5
tetradic
#F5DE6C #6CF59A #6C83F5 #F56CC8
square
#F5DE6C #6CF59A #6C83F5 #F56CC8
split-complementary
#F5DE6C #6CC8F5 #9A6CF5
monochromatic
#D8B60F #F1D133 #F5DE6C #F9EBA5 #FDF8DF

Accessibility & contrast

On white

1.35
#F5DE6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#F5DE6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE6C
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE6C#FFFFFF#000000##000000
##F5DE6C1.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D961
Deuteranopia (green-blind)
#F7E171
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5de6c;
/* rgb */ color: rgb(245, 222, 108);
/* oklch */ color: oklch(89.7% 0.136 98.1);
Tailwind
colors: {
  custom: {
    50: '#fbe899',
    500: '#f5de6c',
    950: '#000000',
  },
}
SCSS
$custom: #f5de6c;
$custom-light: #fbe899;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de6c",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 108
  },
  "hsl": {
    "h": 49.927,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89737,
    "c": 0.13624,
    "h": 98.1
  },
  "luminance": 0.72738
}

Semantic roles & 50–950 ramp

primary
#F5DE6C
secondary
#3750CF
accent
#28E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DE6C

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

Preview Lab → · Contrast checker → · Palette generator →

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