#F0C64F#F0C64F

#F0C64F is a very light, vivid orange. Relative luminance 0.595; OKLCH L 84.2% C 0.142 H 89.3°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#F0C64F
RGBrgb(240, 198, 79)
HSLhsl(44, 84%, 63%)
HSVhsv(44, 67%, 94%)
CMYKcmyk(0%, 17.5%, 67.1%, 5.9%)
CIE-LABlab(81.56, 2.49, 63.00)
CIE-LCHlch(81.56, 63.05, 87.74°)
OKLaboklab(84.2% 0.0017 0.1421)
OKLCHoklch(84.2% 0.142 89.3)
XYZxyz(57.5436, 59.4814, 15.8458)
Luminance0.5948 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C64F #4F79F0
analogous
#F0764F #F0C64F #C9F04F
triadic
#F0C64F #4FF0C6 #C64FF0
tetradic
#F0C64F #4FF076 #4F79F0 #F04FC9
square
#F0C64F #4FF076 #4F79F0 #F04FC9
split-complementary
#F0C64F #4FC9F0 #764FF0
monochromatic
#B58A0F #EBB417 #F0C64F #F5D887 #FAEBC0

Accessibility & contrast

On white

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

On black

12.90
#F0C64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C64F
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C64F#FFFFFF#000000##000000
##F0C64F1.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0c64f;
/* rgb */ color: rgb(240, 198, 79);
/* oklch */ color: oklch(84.2% 0.142 89.3);
Tailwind
colors: {
  custom: {
    50: '#f9d786',
    500: '#f0c64f',
    950: '#000000',
  },
}
SCSS
$custom: #f0c64f;
$custom-light: #f9d786;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c64f",
  "rgb": {
    "r": 240,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 44.348,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84198,
    "c": 0.14211,
    "h": 89.3
  },
  "luminance": 0.59478
}

Semantic roles & 50–950 ramp

primary
#F0C64F
secondary
#2F52B5
accent
#3EE105
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0C64F

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

Preview Lab → · Contrast checker → · Palette generator →

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