#F5D670#F5D670

#F5D670 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.2% C 0.126 H 92.8°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#F5D670
RGBrgb(245, 214, 112)
HSLhsl(46, 87%, 70%)
HSVhsv(46, 54%, 96%)
CMYKcmyk(0%, 12.7%, 54.3%, 3.9%)
CIE-LABlab(86.34, -1.46, 53.70)
CIE-LCHlch(86.34, 53.72, 91.56°)
OKLaboklab(88.19% -0.0061 0.1263)
OKLCHoklch(88.19% 0.126 92.8)
XYZxyz(64.6299, 68.6785, 25.1781)
Luminance0.6867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D670 #708FF5
analogous
#F59370 #F5D670 #D2F570
triadic
#F5D670 #70F5D6 #D670F5
tetradic
#F5D670 #70F593 #708FF5 #F570D2
square
#F5D670 #70F593 #708FF5 #F570D2
split-complementary
#F5D670 #70D2F5 #9370F5
monochromatic
#DBAC0F #F1C637 #F5D670 #F9E6A9 #FDF7E2

Accessibility & contrast

On white

1.43
#F5D670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#F5D670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D670
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D670#FFFFFF#000000##000000
##F5D6701.001.4314.7414.74
#FFFFFF1.431.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D367
Deuteranopia (green-blind)
#F1DC74
Tritanopia (blue-blind)
#FFC8BF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f5d670;
/* rgb */ color: rgb(245, 214, 112);
/* oklch */ color: oklch(88.2% 0.126 92.8);
Tailwind
colors: {
  custom: {
    50: '#fbe29c',
    500: '#f5d670',
    950: '#000000',
  },
}
SCSS
$custom: #f5d670;
$custom-light: #fbe29c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d670",
  "rgb": {
    "r": 245,
    "g": 214,
    "b": 112
  },
  "hsl": {
    "h": 46.015,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.88185,
    "c": 0.12645,
    "h": 92.8
  },
  "luminance": 0.68675
}

Semantic roles & 50–950 ramp

primary
#F5D670
secondary
#3A5DCF
accent
#37E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D670

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

Preview Lab → · Contrast checker → · Palette generator →

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