#F0C04A#F0C04A

#F0C04A is a very light, vivid orange. Relative luminance 0.567; OKLCH L 83.0% C 0.143 H 86.2°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#F0C04A
RGBrgb(240, 192, 74)
HSLhsl(43, 85%, 62%)
HSVhsv(43, 69%, 94%)
CMYKcmyk(0%, 20%, 69.2%, 5.9%)
CIE-LABlab(80.02, 5.33, 63.48)
CIE-LCHlch(80.02, 63.71, 85.20°)
OKLaboklab(82.98% 0.0093 0.1423)
OKLCHoklch(82.98% 0.143 86.2)
XYZxyz(56.0241, 56.7226, 14.4750)
Luminance0.5672 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C04A #4A7AF0
analogous
#F06D4A #F0C04A #CDF04A
triadic
#F0C04A #4AF0C0 #C04AF0
tetradic
#F0C04A #4AF06D #4A7AF0 #F04ACD
square
#F0C04A #4AF06D #4A7AF0 #F04ACD
split-complementary
#F0C04A #4ACDF0 #6D4AF0
monochromatic
#B1820F #E9AC13 #F0C04A #F5D483 #F9E7BB

Accessibility & contrast

On white

1.70
#F0C04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#F0C04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C04A
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C04A#FFFFFF#000000##000000
##F0C04A1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3B
Deuteranopia (green-blind)
#E2CC4F
Tritanopia (blue-blind)
#FFB0A8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #f0c04a;
/* rgb */ color: rgb(240, 192, 74);
/* oklch */ color: oklch(83.0% 0.143 86.2);
Tailwind
colors: {
  custom: {
    50: '#f9d282',
    500: '#f0c04a',
    950: '#000000',
  },
}
SCSS
$custom: #f0c04a;
$custom-light: #f9d282;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c04a",
  "rgb": {
    "r": 240,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 42.651,
    "s": 84.694,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82979,
    "c": 0.1426,
    "h": 86.2
  },
  "luminance": 0.56719
}

Semantic roles & 50–950 ramp

primary
#F0C04A
secondary
#2D53B1
accent
#44E104
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0C04A

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

Preview Lab → · Contrast checker → · Palette generator →

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