#F7D670#F7D670

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

Color values

HEX#F7D670
RGBrgb(247, 214, 112)
HSLhsl(45, 89%, 70%)
HSVhsv(45, 55%, 97%)
CMYKcmyk(0%, 13.4%, 54.7%, 3.1%)
CIE-LABlab(86.52, -0.65, 53.95)
CIE-LCHlch(86.52, 53.96, 90.69°)
OKLaboklab(88.37% -0.0039 0.1268)
OKLCHoklch(88.37% 0.127 91.7)
XYZxyz(65.3316, 69.0403, 25.2110)
Luminance0.6904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D670 #7091F7
analogous
#F79270 #F7D670 #D5F770
triadic
#F7D670 #70F7D6 #D670F7
tetradic
#F7D670 #70F792 #7091F7 #F770D5
square
#F7D670 #70F792 #7091F7 #F770D5
split-complementary
#F7D670 #70D5F7 #9270F7
monochromatic
#E0AC0D #F4C536 #F7D670 #FAE7AA #FDF7E2

Accessibility & contrast

On white

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

On black

14.81
#F7D670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D670
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D670#FFFFFF#000000##000000
##F7D6701.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7d670;
/* rgb */ color: rgb(247, 214, 112);
/* oklch */ color: oklch(88.4% 0.127 91.7);
Tailwind
colors: {
  custom: {
    50: '#fde29c',
    500: '#f7d670',
    950: '#000000',
  },
}
SCSS
$custom: #f7d670;
$custom-light: #fde29c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d670",
  "rgb": {
    "r": 247,
    "g": 214,
    "b": 112
  },
  "hsl": {
    "h": 45.333,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88369,
    "c": 0.12688,
    "h": 91.7
  },
  "luminance": 0.69037
}

Semantic roles & 50–950 ramp

primary
#F7D670
secondary
#3A5FD2
accent
#38E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D670

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

Preview Lab → · Contrast checker → · Palette generator →

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