#F0C64C#F0C64C

#F0C64C is a very light, vivid orange. Relative luminance 0.594; OKLCH L 84.2% C 0.144 H 89.6°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#F0C64C
RGBrgb(240, 198, 76)
HSLhsl(45, 85%, 62%)
HSVhsv(45, 68%, 94%)
CMYKcmyk(0%, 17.5%, 68.3%, 5.9%)
CIE-LABlab(81.53, 2.32, 64.22)
CIE-LCHlch(81.53, 64.26, 87.93°)
OKLaboklab(84.17% 0.0009 0.1442)
OKLCHoklch(84.17% 0.144 89.6)
XYZxyz(57.4369, 59.4387, 15.2836)
Luminance0.5944 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C64C #4C76F0
analogous
#F0744C #F0C64C #C8F04C
triadic
#F0C64C #4CF0C6 #C64CF0
tetradic
#F0C64C #4CF074 #4C76F0 #F04CC8
square
#F0C64C #4CF074 #4C76F0 #F04CC8
split-complementary
#F0C64C #4CC8F0 #744CF0
monochromatic
#B3890F #EBB414 #F0C64C #F5D884 #F9EABD

Accessibility & contrast

On white

1.63
#F0C64C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#F0C64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C64C
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C64C#FFFFFF#000000##000000
##F0C64C1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43C
Deuteranopia (green-blind)
#E6CF52
Tritanopia (blue-blind)
#FFB6AD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #f0c64c;
/* rgb */ color: rgb(240, 198, 76);
/* oklch */ color: oklch(84.2% 0.144 89.6);
Tailwind
colors: {
  custom: {
    50: '#f9d684',
    500: '#f0c64c',
    950: '#000000',
  },
}
SCSS
$custom: #f0c64c;
$custom-light: #f9d684;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c64c",
  "rgb": {
    "r": 240,
    "g": 198,
    "b": 76
  },
  "hsl": {
    "h": 44.634,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84172,
    "c": 0.14419,
    "h": 89.6
  },
  "luminance": 0.59435
}

Semantic roles & 50–950 ramp

primary
#F0C64C
secondary
#2E50B2
accent
#3DE104
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0C64C

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

Preview Lab → · Contrast checker → · Palette generator →

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