#F0C351#F0C351

#F0C351 is a very light, vivid orange. Relative luminance 0.582; OKLCH L 83.6% C 0.139 H 87.2°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#F0C351
RGBrgb(240, 195, 81)
HSLhsl(43, 84%, 63%)
HSVhsv(43, 66%, 94%)
CMYKcmyk(0%, 18.8%, 66.3%, 5.9%)
CIE-LABlab(80.82, 4.15, 61.38)
CIE-LCHlch(80.82, 61.52, 86.13°)
OKLaboklab(83.63% 0.0068 0.139)
OKLCHoklch(83.63% 0.139 87.2)
XYZxyz(56.9386, 58.1531, 16.0087)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C351 #517EF0
analogous
#F07351 #F0C351 #CDF051
triadic
#F0C351 #51F0C3 #C351F0
tetradic
#F0C351 #51F073 #517EF0 #F051CD
square
#F0C351 #51F073 #517EF0 #F051CD
split-complementary
#F0C351 #51CDF0 #7351F0
monochromatic
#B78810 #EBB019 #F0C351 #F5D689 #FAEAC2

Accessibility & contrast

On white

1.66
#F0C351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#F0C351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C351
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C351#FFFFFF#000000##000000
##F0C3511.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C243
Deuteranopia (green-blind)
#E3CE56
Tritanopia (blue-blind)
#FFB3AB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #f0c351;
/* rgb */ color: rgb(240, 195, 81);
/* oklch */ color: oklch(83.6% 0.139 87.2);
Tailwind
colors: {
  custom: {
    50: '#f9d487',
    500: '#f0c351',
    950: '#000000',
  },
}
SCSS
$custom: #f0c351;
$custom-light: #f9d487;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c351",
  "rgb": {
    "r": 240,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 43.019,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83627,
    "c": 0.13914,
    "h": 87.2
  },
  "luminance": 0.5815
}

Semantic roles & 50–950 ramp

primary
#F0C351
secondary
#2F55B6
accent
#43E105
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0C351

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

Preview Lab → · Contrast checker → · Palette generator →

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