#F0C251#F0C251

#F0C251 is a very light, vivid orange. Relative luminance 0.577; OKLCH L 83.4% C 0.139 H 86.6°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#F0C251
RGBrgb(240, 194, 81)
HSLhsl(43, 84%, 63%)
HSVhsv(43, 66%, 94%)
CMYKcmyk(0%, 19.2%, 66.3%, 5.9%)
CIE-LABlab(80.58, 4.67, 61.11)
CIE-LCHlch(80.58, 61.29, 85.63°)
OKLaboklab(83.43% 0.0083 0.1384)
OKLCHoklch(83.43% 0.139 86.6)
XYZxyz(56.7153, 57.7065, 15.9342)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C251 #517FF0
analogous
#F07351 #F0C251 #CEF051
triadic
#F0C251 #51F0C2 #C251F0
tetradic
#F0C251 #51F073 #517FF0 #F051CE
square
#F0C251 #51F073 #517FF0 #F051CE
split-complementary
#F0C251 #51CEF0 #7351F0
monochromatic
#B78710 #EBAE19 #F0C251 #F5D689 #FAEAC2

Accessibility & contrast

On white

1.67
#F0C251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#F0C251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C251
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C251#FFFFFF#000000##000000
##F0C2511.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C144
Deuteranopia (green-blind)
#E3CD56
Tritanopia (blue-blind)
#FFB2AA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #f0c251;
/* rgb */ color: rgb(240, 194, 81);
/* oklch */ color: oklch(83.4% 0.139 86.6);
Tailwind
colors: {
  custom: {
    50: '#f9d487',
    500: '#f0c251',
    950: '#000000',
  },
}
SCSS
$custom: #f0c251;
$custom-light: #f9d487;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c251",
  "rgb": {
    "r": 240,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 42.642,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83432,
    "c": 0.13867,
    "h": 86.6
  },
  "luminance": 0.57703
}

Semantic roles & 50–950 ramp

primary
#F0C251
secondary
#2F56B6
accent
#44E105
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0C251

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

Preview Lab → · Contrast checker → · Palette generator →

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