#F5D34E#F5D34E

#F5D34E is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.2% C 0.152 H 94.5°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#F5D34E
RGBrgb(245, 211, 78)
HSLhsl(48, 89%, 63%)
HSVhsv(48, 68%, 96%)
CMYKcmyk(0%, 13.9%, 68.2%, 3.9%)
CIE-LABlab(85.28, -2.15, 67.41)
CIE-LCHlch(85.28, 67.45, 91.83°)
OKLaboklab(87.24% -0.012 0.1511)
OKLCHoklch(87.24% 0.152 94.5)
XYZxyz(62.3287, 66.5544, 16.7695)
Luminance0.6655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D34E #4E70F5
analogous
#F57F4E #F5D34E #C4F54E
triadic
#F5D34E #4EF5D3 #D34EF5
tetradic
#F5D34E #4EF57F #4E70F5 #F54EC4
square
#F5D34E #4EF57F #4E70F5 #F54EC4
split-complementary
#F5D34E #4EC4F5 #7F4EF5
monochromatic
#BE990B #F2C514 #F5D34E #F8E188 #FCF0C2

Accessibility & contrast

On white

1.47
#F5D34E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#F5D34E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D34E
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D34E#FFFFFF#000000##000000
##F5D34E1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3C
Deuteranopia (green-blind)
#F1D955
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d34e;
/* rgb */ color: rgb(245, 211, 78);
/* oklch */ color: oklch(87.2% 0.152 94.5);
Tailwind
colors: {
  custom: {
    50: '#fce086',
    500: '#f5d34e',
    950: '#000000',
  },
}
SCSS
$custom: #f5d34e;
$custom-light: #fce086;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d34e",
  "rgb": {
    "r": 245,
    "g": 211,
    "b": 78
  },
  "hsl": {
    "h": 47.784,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87243,
    "c": 0.1516,
    "h": 94.5
  },
  "luminance": 0.66551
}

Semantic roles & 50–950 ramp

primary
#F5D34E
secondary
#2B49BC
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D34E

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

Preview Lab → · Contrast checker → · Palette generator →

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