#F5D478#F5D478

#F5D478 is a very light, moderate orange. Relative luminance 0.679; OKLCH L 87.9% C 0.118 H 90.2°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#F5D478
RGBrgb(245, 212, 120)
HSLhsl(44, 86%, 72%)
HSVhsv(44, 51%, 96%)
CMYKcmyk(0%, 13.5%, 51%, 3.9%)
CIE-LABlab(85.94, 0.21, 49.39)
CIE-LCHlch(85.94, 49.39, 89.75°)
OKLaboklab(87.89% -0.0003 0.1176)
OKLCHoklch(87.89% 0.118 90.2)
XYZxyz(64.5922, 67.8586, 27.4614)
Luminance0.6786 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D478 #7899F5
analogous
#F59678 #F5D478 #D8F578
triadic
#F5D478 #78F5D4 #D478F5
tetradic
#F5D478 #78F596 #7899F5 #F578D8
square
#F5D478 #78F596 #7899F5 #F578D8
split-complementary
#F5D478 #78D8F5 #9678F5
monochromatic
#E2AB11 #F1C23F #F5D478 #F9E6B1 #FDF6E3

Accessibility & contrast

On white

1.44
#F5D478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#F5D478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D478
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D478#FFFFFF#000000##000000
##F5D4781.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D170
Deuteranopia (green-blind)
#EFDB7B
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f5d478;
/* rgb */ color: rgb(245, 212, 120);
/* oklch */ color: oklch(87.9% 0.118 90.2);
Tailwind
colors: {
  custom: {
    50: '#fbe1a1',
    500: '#f5d478',
    950: '#000000',
  },
}
SCSS
$custom: #f5d478;
$custom-light: #fbe1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d478",
  "rgb": {
    "r": 245,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 44.16,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.87893,
    "c": 0.11757,
    "h": 90.2
  },
  "luminance": 0.67856
}

Semantic roles & 50–950 ramp

primary
#F5D478
secondary
#4167D0
accent
#3EE303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5D478

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

Preview Lab → · Contrast checker → · Palette generator →

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