#F4D462#F4D462

#F4D462 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.5% C 0.137 H 93.7°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#F4D462
RGBrgb(244, 212, 98)
HSLhsl(47, 87%, 67%)
HSVhsv(47, 60%, 96%)
CMYKcmyk(0%, 13.1%, 59.8%, 4.3%)
CIE-LABlab(85.61, -1.88, 59.26)
CIE-LCHlch(85.61, 59.29, 91.81°)
OKLaboklab(87.54% -0.0088 0.1368)
OKLCHoklch(87.54% 0.137 93.7)
XYZxyz(63.0591, 67.2050, 21.2033)
Luminance0.6720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D462 #6282F4
analogous
#F48B62 #F4D462 #CBF462
triadic
#F4D462 #62F4D4 #D462F4
tetradic
#F4D462 #62F48B #6282F4 #F462CB
square
#F4D462 #62F48B #6282F4 #F462CB
split-complementary
#F4D462 #62CBF4 #8B62F4
monochromatic
#CDA30E #F0C429 #F4D462 #F8E49B #FCF3D4

Accessibility & contrast

On white

1.45
#F4D462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.44
#F4D462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D462
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D462#FFFFFF#000000##000000
##F4D4621.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D056
Deuteranopia (green-blind)
#F0DA67
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f4d462;
/* rgb */ color: rgb(244, 212, 98);
/* oklch */ color: oklch(87.5% 0.137 93.7);
Tailwind
colors: {
  custom: {
    50: '#fbe092',
    500: '#f4d462',
    950: '#000000',
  },
}
SCSS
$custom: #f4d462;
$custom-light: #fbe092;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d462",
  "rgb": {
    "r": 244,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 46.849,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87536,
    "c": 0.13705,
    "h": 93.7
  },
  "luminance": 0.67202
}

Semantic roles & 50–950 ramp

primary
#F4D462
secondary
#3152C9
accent
#33E302
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F4D462

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

Preview Lab → · Contrast checker → · Palette generator →

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