#F0C54C#F0C54C

#F0C54C is a very light, vivid orange. Relative luminance 0.590; OKLCH L 84.0% C 0.144 H 89.0°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#F0C54C
RGBrgb(240, 197, 76)
HSLhsl(44, 85%, 62%)
HSVhsv(44, 68%, 94%)
CMYKcmyk(0%, 17.9%, 68.3%, 5.9%)
CIE-LABlab(81.28, 2.84, 63.96)
CIE-LCHlch(81.28, 64.02, 87.46°)
OKLaboklab(83.98% 0.0024 0.1436)
OKLCHoklch(83.98% 0.144 89)
XYZxyz(57.2091, 58.9831, 15.2077)
Luminance0.5898 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C54C #4C77F0
analogous
#F0734C #F0C54C #C9F04C
triadic
#F0C54C #4CF0C5 #C54CF0
tetradic
#F0C54C #4CF073 #4C77F0 #F04CC9
square
#F0C54C #4CF073 #4C77F0 #F04CC9
split-complementary
#F0C54C #4CC9F0 #734CF0
monochromatic
#B3880F #EBB314 #F0C54C #F5D784 #F9EABD

Accessibility & contrast

On white

1.64
#F0C54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#F0C54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C54C
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C54C#FFFFFF#000000##000000
##F0C54C1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33C
Deuteranopia (green-blind)
#E5CF52
Tritanopia (blue-blind)
#FFB5AC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #f0c54c;
/* rgb */ color: rgb(240, 197, 76);
/* oklch */ color: oklch(84.0% 0.144 89.0);
Tailwind
colors: {
  custom: {
    50: '#f9d684',
    500: '#f0c54c',
    950: '#000000',
  },
}
SCSS
$custom: #f0c54c;
$custom-light: #f9d684;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c54c",
  "rgb": {
    "r": 240,
    "g": 197,
    "b": 76
  },
  "hsl": {
    "h": 44.268,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83975,
    "c": 0.14366,
    "h": 89
  },
  "luminance": 0.5898
}

Semantic roles & 50–950 ramp

primary
#F0C54C
secondary
#2E51B2
accent
#3EE104
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0C54C

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

Preview Lab → · Contrast checker → · Palette generator →

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