#F0C456#F0C456

#F0C456 is a very light, vivid orange. Relative luminance 0.587; OKLCH L 83.9% C 0.136 H 87.2°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#F0C456
RGBrgb(240, 196, 86)
HSLhsl(43, 84%, 64%)
HSVhsv(43, 64%, 94%)
CMYKcmyk(0%, 18.3%, 64.2%, 5.9%)
CIE-LABlab(81.12, 3.93, 59.52)
CIE-LCHlch(81.12, 59.65, 86.23°)
OKLaboklab(83.87% 0.0067 0.1358)
OKLCHoklch(83.87% 0.136 87.2)
XYZxyz(57.3578, 58.6805, 17.1077)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C456 #5682F0
analogous
#F07756 #F0C456 #CFF056
triadic
#F0C456 #56F0C4 #C456F0
tetradic
#F0C456 #56F077 #5682F0 #F056CF
square
#F0C456 #56F077 #5682F0 #F056CF
split-complementary
#F0C456 #56CFF0 #7756F0
monochromatic
#BB8A11 #EBB01E #F0C456 #F5D88E #FAEBC6

Accessibility & contrast

On white

1.65
#F0C456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#F0C456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C456
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C456#FFFFFF#000000##000000
##F0C4561.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34A
Deuteranopia (green-blind)
#E4CE5B
Tritanopia (blue-blind)
#FFB4AC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #f0c456;
/* rgb */ color: rgb(240, 196, 86);
/* oklch */ color: oklch(83.9% 0.136 87.2);
Tailwind
colors: {
  custom: {
    50: '#f9d58a',
    500: '#f0c456',
    950: '#000000',
  },
}
SCSS
$custom: #f0c456;
$custom-light: #f9d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c456",
  "rgb": {
    "r": 240,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 42.857,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83871,
    "c": 0.13596,
    "h": 87.2
  },
  "luminance": 0.58677
}

Semantic roles & 50–950 ramp

primary
#F0C456
secondary
#3058BA
accent
#44E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0C456

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

Preview Lab → · Contrast checker → · Palette generator →

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