#F5D770#F5D770

#F5D770 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.4% C 0.127 H 93.4°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#F5D770
RGBrgb(245, 215, 112)
HSLhsl(46, 87%, 70%)
HSVhsv(46, 54%, 96%)
CMYKcmyk(0%, 12.2%, 54.3%, 3.9%)
CIE-LABlab(86.60, -1.97, 53.99)
CIE-LCHlch(86.60, 54.03, 92.09°)
OKLaboklab(88.38% -0.0076 0.1269)
OKLCHoklch(88.38% 0.127 93.4)
XYZxyz(64.8838, 69.1862, 25.2627)
Luminance0.6918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D770 #708EF5
analogous
#F59470 #F5D770 #D1F570
triadic
#F5D770 #70F5D7 #D770F5
tetradic
#F5D770 #70F594 #708EF5 #F570D1
square
#F5D770 #70F594 #708EF5 #F570D1
split-complementary
#F5D770 #70D1F5 #9470F5
monochromatic
#DBAD0F #F1C737 #F5D770 #F9E7A9 #FDF7E2

Accessibility & contrast

On white

1.42
#F5D770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#F5D770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D770
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D770#FFFFFF#000000##000000
##F5D7701.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD466
Deuteranopia (green-blind)
#F1DD74
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d770;
/* rgb */ color: rgb(245, 215, 112);
/* oklch */ color: oklch(88.4% 0.127 93.4);
Tailwind
colors: {
  custom: {
    50: '#fbe39c',
    500: '#f5d770',
    950: '#000000',
  },
}
SCSS
$custom: #f5d770;
$custom-light: #fbe39c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d770",
  "rgb": {
    "r": 245,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 46.466,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.88384,
    "c": 0.12717,
    "h": 93.4
  },
  "luminance": 0.69183
}

Semantic roles & 50–950 ramp

primary
#F5D770
secondary
#3A5CCF
accent
#35E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D770

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

Preview Lab → · Contrast checker → · Palette generator →

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