#F4D062#F4D062

#F4D062 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.7% C 0.134 H 91.3°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#F4D062
RGBrgb(244, 208, 98)
HSLhsl(45, 87%, 67%)
HSVhsv(45, 60%, 96%)
CMYKcmyk(0%, 14.8%, 59.8%, 4.3%)
CIE-LABlab(84.60, 0.17, 58.13)
CIE-LCHlch(84.60, 58.13, 89.83°)
OKLaboklab(86.74% -0.0029 0.1343)
OKLCHoklch(86.74% 0.134 91.3)
XYZxyz(62.0715, 65.2300, 20.8741)
Luminance0.6523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D062 #6286F4
analogous
#F48762 #F4D062 #CFF462
triadic
#F4D062 #62F4D0 #D062F4
tetradic
#F4D062 #62F487 #6286F4 #F462CF
square
#F4D062 #62F487 #6286F4 #F462CF
split-complementary
#F4D062 #62CFF4 #8762F4
monochromatic
#CD9E0E #F0BF29 #F4D062 #F8E19B #FCF2D4

Accessibility & contrast

On white

1.50
#F4D062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#F4D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D062
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D062#FFFFFF#000000##000000
##F4D0621.001.5014.0514.05
#FFFFFF1.501.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD57
Deuteranopia (green-blind)
#EDD867
Tritanopia (blue-blind)
#FFC1B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f4d062;
/* rgb */ color: rgb(244, 208, 98);
/* oklch */ color: oklch(86.7% 0.134 91.3);
Tailwind
colors: {
  custom: {
    50: '#fbde92',
    500: '#f4d062',
    950: '#000000',
  },
}
SCSS
$custom: #f4d062;
$custom-light: #fbde92;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d062",
  "rgb": {
    "r": 244,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 45.205,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86742,
    "c": 0.13437,
    "h": 91.3
  },
  "luminance": 0.65227
}

Semantic roles & 50–950 ramp

primary
#F4D062
secondary
#3157C9
accent
#3AE302
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F4D062

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

Preview Lab → · Contrast checker → · Palette generator →

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