#F0C159#F0C159

#F0C159 is a very light, vivid orange. Relative luminance 0.574; OKLCH L 83.3% C 0.132 H 84.7°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#F0C159
RGBrgb(240, 193, 89)
HSLhsl(41, 83%, 65%)
HSVhsv(41, 63%, 94%)
CMYKcmyk(0%, 19.6%, 62.9%, 5.9%)
CIE-LABlab(80.40, 5.67, 57.39)
CIE-LCHlch(80.40, 57.67, 84.36°)
OKLaboklab(83.32% 0.0122 0.1317)
OKLCHoklch(83.32% 0.132 84.7)
XYZxyz(56.8113, 57.3900, 17.5343)
Luminance0.5739 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C159 #5988F0
analogous
#F07659 #F0C159 #D3F059
triadic
#F0C159 #59F0C1 #C159F0
tetradic
#F0C159 #59F076 #5988F0 #F059D3
square
#F0C159 #59F076 #5988F0 #F059D3
split-complementary
#F0C159 #59D3F0 #7659F0
monochromatic
#BD8811 #EBAC21 #F0C159 #F5D691 #FAEBC9

Accessibility & contrast

On white

1.68
#F0C159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#F0C159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C159
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C159#FFFFFF#000000##000000
##F0C1591.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04E
Deuteranopia (green-blind)
#E1CD5D
Tritanopia (blue-blind)
#FFB2AA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #f0c159;
/* rgb */ color: rgb(240, 193, 89);
/* oklch */ color: oklch(83.3% 0.132 84.7);
Tailwind
colors: {
  custom: {
    50: '#f9d38c',
    500: '#f0c159',
    950: '#000000',
  },
}
SCSS
$custom: #f0c159;
$custom-light: #f9d38c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c159",
  "rgb": {
    "r": 240,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 41.325,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83315,
    "c": 0.13224,
    "h": 84.7
  },
  "luminance": 0.57386
}

Semantic roles & 50–950 ramp

primary
#F0C159
secondary
#315CBC
accent
#4AE006
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0C159

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

Preview Lab → · Contrast checker → · Palette generator →

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