#F4D04F#F4D04F

#F4D04F is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.6% C 0.149 H 93.3°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#F4D04F
RGBrgb(244, 208, 79)
HSLhsl(47, 88%, 63%)
HSVhsv(47, 68%, 96%)
CMYKcmyk(0%, 14.8%, 67.6%, 4.3%)
CIE-LABlab(84.44, -0.98, 66.12)
CIE-LCHlch(84.44, 66.13, 90.85°)
OKLaboklab(86.56% -0.0085 0.1486)
OKLCHoklch(86.56% 0.149 93.3)
XYZxyz(61.2785, 64.9127, 16.6974)
Luminance0.6491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D04F #4F73F4
analogous
#F47D4F #F4D04F #C5F44F
triadic
#F4D04F #4FF4D0 #D04FF4
tetradic
#F4D04F #4FF47D #4F73F4 #F44FC5
square
#F4D04F #4FF47D #4F73F4 #F44FC5
split-complementary
#F4D04F #4FC5F4 #7D4FF4
monochromatic
#BD960C #F0C115 #F4D04F #F8DF89 #FBEFC2

Accessibility & contrast

On white

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

On black

13.98
#F4D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D04F
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D04F#FFFFFF#000000##000000
##F4D04F1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD3E
Deuteranopia (green-blind)
#EED756
Tritanopia (blue-blind)
#FFC0B5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f4d04f;
/* rgb */ color: rgb(244, 208, 79);
/* oklch */ color: oklch(86.6% 0.149 93.3);
Tailwind
colors: {
  custom: {
    50: '#fcde87',
    500: '#f4d04f',
    950: '#000000',
  },
}
SCSS
$custom: #f4d04f;
$custom-light: #fcde87;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d04f",
  "rgb": {
    "r": 244,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 46.909,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8656,
    "c": 0.14882,
    "h": 93.3
  },
  "luminance": 0.64909
}

Semantic roles & 50–950 ramp

primary
#F4D04F
secondary
#2C4BBB
accent
#32E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F4D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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