#F4D970#F4D970

#F4D970 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.7% C 0.129 H 95.2°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#F4D970
RGBrgb(244, 217, 112)
HSLhsl(48, 86%, 70%)
HSVhsv(48, 54%, 96%)
CMYKcmyk(0%, 11.1%, 54.1%, 4.3%)
CIE-LABlab(87.01, -3.39, 54.46)
CIE-LCHlch(87.01, 54.57, 93.57°)
OKLaboklab(88.69% -0.0116 0.128)
OKLCHoklch(88.69% 0.129 95.2)
XYZxyz(65.0481, 70.0315, 25.4172)
Luminance0.7003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D970 #708BF4
analogous
#F49770 #F4D970 #CDF470
triadic
#F4D970 #70F4D9 #D970F4
tetradic
#F4D970 #70F497 #708BF4 #F470CD
square
#F4D970 #70F497 #708BF4 #F470CD
split-complementary
#F4D970 #70CDF4 #9770F4
monochromatic
#D9B011 #F0CA37 #F4D970 #F8E8A9 #FDF7E2

Accessibility & contrast

On white

1.40
#F4D970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.01
#F4D970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D970
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D970#FFFFFF#000000##000000
##F4D9701.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD566
Deuteranopia (green-blind)
#F3DE74
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f4d970;
/* rgb */ color: rgb(244, 217, 112);
/* oklch */ color: oklch(88.7% 0.129 95.2);
Tailwind
colors: {
  custom: {
    50: '#fae49c',
    500: '#f4d970',
    950: '#000000',
  },
}
SCSS
$custom: #f4d970;
$custom-light: #fae49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d970",
  "rgb": {
    "r": 244,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 47.727,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88692,
    "c": 0.12851,
    "h": 95.2
  },
  "luminance": 0.70029
}

Semantic roles & 50–950 ramp

primary
#F4D970
secondary
#3A59CE
accent
#31E203
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F4D970

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

Preview Lab → · Contrast checker → · Palette generator →

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