#F0C64B#F0C64B

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

Color values

HEX#F0C64B
RGBrgb(240, 198, 75)
HSLhsl(45, 85%, 62%)
HSVhsv(45, 69%, 94%)
CMYKcmyk(0%, 17.5%, 68.7%, 5.9%)
CIE-LABlab(81.52, 2.27, 64.62)
CIE-LCHlch(81.52, 64.66, 87.99°)
OKLaboklab(84.16% 0.0006 0.1449)
OKLCHoklch(84.16% 0.145 89.8)
XYZxyz(57.4024, 59.4249, 15.1020)
Luminance0.5942 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C64B #4B75F0
analogous
#F0744B #F0C64B #C8F04B
triadic
#F0C64B #4BF0C6 #C64BF0
tetradic
#F0C64B #4BF074 #4B75F0 #F04BC8
square
#F0C64B #4BF074 #4B75F0 #F04BC8
split-complementary
#F0C64B #4BC8F0 #744BF0
monochromatic
#B2880F #EAB414 #F0C64B #F5D883 #F9EABC

Accessibility & contrast

On white

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

On black

12.88
#F0C64B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C64B
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C64B#FFFFFF#000000##000000
##F0C64B1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0c64b;
/* rgb */ color: rgb(240, 198, 75);
/* oklch */ color: oklch(84.2% 0.145 89.8);
Tailwind
colors: {
  custom: {
    50: '#f9d684',
    500: '#f0c64b',
    950: '#000000',
  },
}
SCSS
$custom: #f0c64b;
$custom-light: #f9d684;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c64b",
  "rgb": {
    "r": 240,
    "g": 198,
    "b": 75
  },
  "hsl": {
    "h": 44.727,
    "s": 84.615,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84164,
    "c": 0.14486,
    "h": 89.8
  },
  "luminance": 0.59421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0C64B

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

Preview Lab → · Contrast checker → · Palette generator →

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