#F4D671#F4D671

#F4D671 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.1% C 0.125 H 93.1°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#F4D671
RGBrgb(244, 214, 113)
HSLhsl(46, 86%, 70%)
HSVhsv(46, 54%, 96%)
CMYKcmyk(0%, 12.3%, 53.7%, 4.3%)
CIE-LABlab(86.27, -1.79, 53.11)
CIE-LCHlch(86.27, 53.14, 91.93°)
OKLaboklab(88.11% -0.0069 0.1251)
OKLCHoklch(88.11% 0.125 93.1)
XYZxyz(64.3379, 68.5215, 25.4566)
Luminance0.6852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D671 #718FF4
analogous
#F49571 #F4D671 #D0F471
triadic
#F4D671 #71F4D6 #D671F4
tetradic
#F4D671 #71F495 #718FF4 #F471D0
square
#F4D671 #71F495 #718FF4 #F471D0
split-complementary
#F4D671 #71D0F4 #9571F4
monochromatic
#DAAC11 #F0C638 #F4D671 #F8E6AA #FDF7E3

Accessibility & contrast

On white

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

On black

14.70
#F4D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D671
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D671#FFFFFF#000000##000000
##F4D6711.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4d671;
/* rgb */ color: rgb(244, 214, 113);
/* oklch */ color: oklch(88.1% 0.125 93.1);
Tailwind
colors: {
  custom: {
    50: '#fae29c',
    500: '#f4d671',
    950: '#000000',
  },
}
SCSS
$custom: #f4d671;
$custom-light: #fae29c;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d671",
  "rgb": {
    "r": 244,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 46.26,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.88106,
    "c": 0.12533,
    "h": 93.1
  },
  "luminance": 0.68518
}

Semantic roles & 50–950 ramp

primary
#F4D671
secondary
#3B5DCE
accent
#36E203
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F4D671

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

Preview Lab → · Contrast checker → · Palette generator →

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