#F0C958#F0C958

#F0C958 is a very light, vivid orange. Relative luminance 0.610; OKLCH L 84.9% C 0.137 H 90.1°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#F0C958
RGBrgb(240, 201, 88)
HSLhsl(45, 84%, 64%)
HSVhsv(45, 63%, 94%)
CMYKcmyk(0%, 16.3%, 63.3%, 5.9%)
CIE-LABlab(82.38, 1.46, 60.02)
CIE-LCHlch(82.38, 60.04, 88.61°)
OKLaboklab(84.87% -0.0002 0.1372)
OKLCHoklch(84.87% 0.137 90.1)
XYZxyz(58.5862, 61.0065, 17.9202)
Luminance0.6100 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C958 #587FF0
analogous
#F07D58 #F0C958 #CBF058
triadic
#F0C958 #58F0C9 #C958F0
tetradic
#F0C958 #58F07D #587FF0 #F058CB
square
#F0C958 #58F07D #587FF0 #F058CB
split-complementary
#F0C958 #58CBF0 #7D58F0
monochromatic
#BD9111 #EBB720 #F0C958 #F5DB90 #FAEDC8

Accessibility & contrast

On white

1.59
#F0C958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#F0C958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C958
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C958#FFFFFF#000000##000000
##F0C9581.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74B
Deuteranopia (green-blind)
#E7D25D
Tritanopia (blue-blind)
#FFBAB1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0c958;
/* rgb */ color: rgb(240, 201, 88);
/* oklch */ color: oklch(84.9% 0.137 90.1);
Tailwind
colors: {
  custom: {
    50: '#f8d98b',
    500: '#f0c958',
    950: '#000000',
  },
}
SCSS
$custom: #f0c958;
$custom-light: #f8d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c958",
  "rgb": {
    "r": 240,
    "g": 201,
    "b": 88
  },
  "hsl": {
    "h": 44.605,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84874,
    "c": 0.13715,
    "h": 90.1
  },
  "luminance": 0.61003
}

Semantic roles & 50–950 ramp

primary
#F0C958
secondary
#3154BB
accent
#3EE006
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0C958

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

Preview Lab → · Contrast checker → · Palette generator →

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