#F0C64D#F0C64D

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

Color values

HEX#F0C64D
RGBrgb(240, 198, 77)
HSLhsl(45, 84%, 62%)
HSVhsv(45, 68%, 94%)
CMYKcmyk(0%, 17.5%, 67.9%, 5.9%)
CIE-LABlab(81.54, 2.38, 63.81)
CIE-LCHlch(81.54, 63.86, 87.87°)
OKLaboklab(84.18% 0.0012 0.1435)
OKLCHoklch(84.18% 0.144 89.5)
XYZxyz(57.4719, 59.4527, 15.4681)
Luminance0.5945 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C64D #4D77F0
analogous
#F0754D #F0C64D #C8F04D
triadic
#F0C64D #4DF0C6 #C64DF0
tetradic
#F0C64D #4DF075 #4D77F0 #F04DC8
square
#F0C64D #4DF075 #4D77F0 #F04DC8
split-complementary
#F0C64D #4DC8F0 #754DF0
monochromatic
#B3890F #EBB415 #F0C64D #F5D885 #FAEABE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0C64D#FFFFFF#000000##000000
##F0C64D1.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)
#DBC43E
Deuteranopia (green-blind)
#E6CF53
Tritanopia (blue-blind)
#FFB6AD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #f0c64d;
/* rgb */ color: rgb(240, 198, 77);
/* oklch */ color: oklch(84.2% 0.143 89.5);
Tailwind
colors: {
  custom: {
    50: '#f9d685',
    500: '#f0c64d',
    950: '#000000',
  },
}
SCSS
$custom: #f0c64d;
$custom-light: #f9d685;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c64d",
  "rgb": {
    "r": 240,
    "g": 198,
    "b": 77
  },
  "hsl": {
    "h": 44.54,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84181,
    "c": 0.1435,
    "h": 89.5
  },
  "luminance": 0.59449
}

Semantic roles & 50–950 ramp

primary
#F0C64D
secondary
#2E50B3
accent
#3DE105
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0C64D

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

Preview Lab → · Contrast checker → · Palette generator →

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