#F0C156#F0C156

#F0C156 is a very light, vivid orange. Relative luminance 0.573; OKLCH L 83.3% C 0.135 H 85.2°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#F0C156
RGBrgb(240, 193, 86)
HSLhsl(42, 84%, 64%)
HSVhsv(42, 64%, 94%)
CMYKcmyk(0%, 19.6%, 64.2%, 5.9%)
CIE-LABlab(80.37, 5.48, 58.71)
CIE-LCHlch(80.37, 58.96, 84.66°)
OKLaboklab(83.29% 0.0113 0.1341)
OKLCHoklch(83.29% 0.135 85.2)
XYZxyz(56.6879, 57.3406, 16.8844)
Luminance0.5734 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C156 #5685F0
analogous
#F07456 #F0C156 #D2F056
triadic
#F0C156 #56F0C1 #C156F0
tetradic
#F0C156 #56F074 #5685F0 #F056D2
square
#F0C156 #56F074 #5685F0 #F056D2
split-complementary
#F0C156 #56D2F0 #7456F0
monochromatic
#BB8711 #EBAC1E #F0C156 #F5D68E #FAEAC6

Accessibility & contrast

On white

1.68
#F0C156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#F0C156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C156
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C156#FFFFFF#000000##000000
##F0C1561.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#E2CC5A
Tritanopia (blue-blind)
#FFB1AA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #f0c156;
/* rgb */ color: rgb(240, 193, 86);
/* oklch */ color: oklch(83.3% 0.135 85.2);
Tailwind
colors: {
  custom: {
    50: '#f9d38a',
    500: '#f0c156',
    950: '#000000',
  },
}
SCSS
$custom: #f0c156;
$custom-light: #f9d38a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c156",
  "rgb": {
    "r": 240,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 41.688,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83285,
    "c": 0.13453,
    "h": 85.2
  },
  "luminance": 0.57337
}

Semantic roles & 50–950 ramp

primary
#F0C156
secondary
#305ABA
accent
#48E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0C156

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

Preview Lab → · Contrast checker → · Palette generator →

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