#F4D562#F4D562

#F4D562 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.7% C 0.138 H 94.3°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#F4D562
RGBrgb(244, 213, 98)
HSLhsl(47, 87%, 67%)
HSVhsv(47, 60%, 96%)
CMYKcmyk(0%, 12.7%, 59.8%, 4.3%)
CIE-LABlab(85.86, -2.39, 59.54)
CIE-LCHlch(85.86, 59.59, 92.29°)
OKLaboklab(87.74% -0.0103 0.1374)
OKLCHoklch(87.74% 0.138 94.3)
XYZxyz(63.3098, 67.7065, 21.2868)
Luminance0.6770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D562 #6281F4
analogous
#F48C62 #F4D562 #CAF462
triadic
#F4D562 #62F4D5 #D562F4
tetradic
#F4D562 #62F48C #6281F4 #F462CA
square
#F4D562 #62F48C #6281F4 #F462CA
split-complementary
#F4D562 #62CAF4 #8C62F4
monochromatic
#CDA50E #F0C629 #F4D562 #F8E49B #FCF4D4

Accessibility & contrast

On white

1.44
#F4D562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#F4D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D562
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D562#FFFFFF#000000##000000
##F4D5621.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f4d562;
/* rgb */ color: rgb(244, 213, 98);
/* oklch */ color: oklch(87.7% 0.138 94.3);
Tailwind
colors: {
  custom: {
    50: '#fbe192',
    500: '#f4d562',
    950: '#000000',
  },
}
SCSS
$custom: #f4d562;
$custom-light: #fbe192;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d562",
  "rgb": {
    "r": 244,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 47.26,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87735,
    "c": 0.13775,
    "h": 94.3
  },
  "luminance": 0.67703
}

Semantic roles & 50–950 ramp

primary
#F4D562
secondary
#3151C9
accent
#32E302
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F4D562

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

Preview Lab → · Contrast checker → · Palette generator →

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