#F0C562#F0C562

#F0C562 is a very light, vivid orange. Relative luminance 0.593; OKLCH L 84.2% C 0.127 H 85.9°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#F0C562
RGBrgb(240, 197, 98)
HSLhsl(42, 83%, 66%)
HSVhsv(42, 59%, 94%)
CMYKcmyk(0%, 17.9%, 59.2%, 5.9%)
CIE-LABlab(81.48, 4.19, 54.48)
CIE-LCHlch(81.48, 54.64, 85.60°)
OKLaboklab(84.19% 0.009 0.1266)
OKLCHoklch(84.19% 0.127 85.9)
XYZxyz(58.1089, 59.3430, 19.9466)
Luminance0.5934 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C562 #628DF0
analogous
#F07E62 #F0C562 #D4F062
triadic
#F0C562 #62F0C5 #C562F0
tetradic
#F0C562 #62F07E #628DF0 #F062D4
square
#F0C562 #62F07E #628DF0 #F062D4
split-complementary
#F0C562 #62D4F0 #7E62F0
monochromatic
#C58F13 #EBB02A #F0C562 #F5DA9A #FBEED2

Accessibility & contrast

On white

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

On black

12.87
#F0C562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C562
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C562#FFFFFF#000000##000000
##F0C5621.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C458
Deuteranopia (green-blind)
#E4CF66
Tritanopia (blue-blind)
#FFB6AF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #f0c562;
/* rgb */ color: rgb(240, 197, 98);
/* oklch */ color: oklch(84.2% 0.127 85.9);
Tailwind
colors: {
  custom: {
    50: '#f8d692',
    500: '#f0c562',
    950: '#000000',
  },
}
SCSS
$custom: #f0c562;
$custom-light: #f8d692;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c562",
  "rgb": {
    "r": 240,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 41.831,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.84194,
    "c": 0.12691,
    "h": 85.9
  },
  "luminance": 0.5934
}

Semantic roles & 50–950 ramp

primary
#F0C562
secondary
#345FC2
accent
#48DF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0C562

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

Preview Lab → · Contrast checker → · Palette generator →

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