#F0C45F#F0C45F

#F0C45F is a very light, vivid orange. Relative luminance 0.588; OKLCH L 84.0% C 0.129 H 85.8°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#F0C45F
RGBrgb(240, 196, 95)
HSLhsl(42, 83%, 66%)
HSVhsv(42, 60%, 94%)
CMYKcmyk(0%, 18.3%, 60.4%, 5.9%)
CIE-LABlab(81.20, 4.50, 55.55)
CIE-LCHlch(81.20, 55.74, 85.37°)
OKLaboklab(83.97% 0.0095 0.1285)
OKLCHoklch(83.97% 0.129 85.8)
XYZxyz(57.7435, 58.8348, 19.1391)
Luminance0.5883 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C45F #5F8BF0
analogous
#F07B5F #F0C45F #D3F05F
triadic
#F0C45F #5FF0C4 #C45FF0
tetradic
#F0C45F #5FF07B #5F8BF0 #F05FD3
square
#F0C45F #5FF07B #5F8BF0 #F05FD3
split-complementary
#F0C45F #5FD3F0 #7B5FF0
monochromatic
#C28D12 #EBAF27 #F0C45F #F5D997 #FAEDCF

Accessibility & contrast

On white

1.64
#F0C45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#F0C45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C45F
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C45F#FFFFFF#000000##000000
##F0C45F1.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C355
Deuteranopia (green-blind)
#E3CF63
Tritanopia (blue-blind)
#FFB5AD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #f0c45f;
/* rgb */ color: rgb(240, 196, 95);
/* oklch */ color: oklch(84.0% 0.129 85.8);
Tailwind
colors: {
  custom: {
    50: '#f8d590',
    500: '#f0c45f',
    950: '#000000',
  },
}
SCSS
$custom: #f0c45f;
$custom-light: #f8d590;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c45f",
  "rgb": {
    "r": 240,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 41.793,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83965,
    "c": 0.12888,
    "h": 85.8
  },
  "luminance": 0.58831
}

Semantic roles & 50–950 ramp

primary
#F0C45F
secondary
#335EC0
accent
#48DF06
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0C45F

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

Preview Lab → · Contrast checker → · Palette generator →

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