#F0C451#F0C451

#F0C451 is a very light, vivid orange. Relative luminance 0.586; OKLCH L 83.8% C 0.140 H 87.8°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#F0C451
RGBrgb(240, 196, 81)
HSLhsl(43, 84%, 63%)
HSVhsv(43, 66%, 94%)
CMYKcmyk(0%, 18.3%, 66.3%, 5.9%)
CIE-LABlab(81.07, 3.63, 61.64)
CIE-LCHlch(81.07, 61.75, 86.63°)
OKLaboklab(83.82% 0.0053 0.1395)
OKLCHoklch(83.82% 0.14 87.8)
XYZxyz(57.1634, 58.6027, 16.0836)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C451 #517DF0
analogous
#F07451 #F0C451 #CDF051
triadic
#F0C451 #51F0C4 #C451F0
tetradic
#F0C451 #51F074 #517DF0 #F051CD
square
#F0C451 #51F074 #517DF0 #F051CD
split-complementary
#F0C451 #51CDF0 #7451F0
monochromatic
#B78910 #EBB119 #F0C451 #F5D789 #FAEAC2

Accessibility & contrast

On white

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

On black

12.72
#F0C451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C451
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C451#FFFFFF#000000##000000
##F0C4511.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0c451;
/* rgb */ color: rgb(240, 196, 81);
/* oklch */ color: oklch(83.8% 0.140 87.8);
Tailwind
colors: {
  custom: {
    50: '#f9d587',
    500: '#f0c451',
    950: '#000000',
  },
}
SCSS
$custom: #f0c451;
$custom-light: #f9d587;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c451",
  "rgb": {
    "r": 240,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 43.396,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83823,
    "c": 0.13964,
    "h": 87.8
  },
  "luminance": 0.58599
}

Semantic roles & 50–950 ramp

primary
#F0C451
secondary
#2F54B6
accent
#42E105
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0C451

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

Preview Lab → · Contrast checker → · Palette generator →

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