#F4D662#F4D662

#F4D662 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.9% C 0.138 H 94.9°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#F4D662
RGBrgb(244, 214, 98)
HSLhsl(48, 87%, 67%)
HSVhsv(48, 60%, 96%)
CMYKcmyk(0%, 12.3%, 59.8%, 4.3%)
CIE-LABlab(86.11, -2.89, 59.83)
CIE-LCHlch(86.11, 59.90, 92.77°)
OKLaboklab(87.93% -0.0118 0.138)
OKLCHoklch(87.93% 0.138 94.9)
XYZxyz(63.5621, 68.2111, 21.3709)
Luminance0.6821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D662 #6280F4
analogous
#F48D62 #F4D662 #C9F462
triadic
#F4D662 #62F4D6 #D662F4
tetradic
#F4D662 #62F48D #6280F4 #F462C9
square
#F4D662 #62F48D #6280F4 #F462C9
split-complementary
#F4D662 #62C9F4 #8D62F4
monochromatic
#CDA60E #F0C729 #F4D662 #F8E59B #FCF4D4

Accessibility & contrast

On white

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

On black

14.64
#F4D662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D662
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D662#FFFFFF#000000##000000
##F4D6621.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4d662;
/* rgb */ color: rgb(244, 214, 98);
/* oklch */ color: oklch(87.9% 0.138 94.9);
Tailwind
colors: {
  custom: {
    50: '#fbe293',
    500: '#f4d662',
    950: '#000000',
  },
}
SCSS
$custom: #f4d662;
$custom-light: #fbe293;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d662",
  "rgb": {
    "r": 244,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 47.671,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87934,
    "c": 0.13847,
    "h": 94.9
  },
  "luminance": 0.68208
}

Semantic roles & 50–950 ramp

primary
#F4D662
secondary
#3150C9
accent
#30E302
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F4D662

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

Preview Lab → · Contrast checker → · Palette generator →

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