#F0B958#F0B958

#F0B958 is a light, vivid orange. Relative luminance 0.539; OKLCH L 81.8% C 0.130 H 79.3°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#F0B958
RGBrgb(240, 185, 88)
HSLhsl(38, 84%, 64%)
HSVhsv(38, 63%, 94%)
CMYKcmyk(0%, 22.9%, 63.3%, 5.9%)
CIE-LABlab(78.42, 9.79, 55.65)
CIE-LCHlch(78.42, 56.51, 80.02°)
OKLaboklab(81.76% 0.0241 0.1278)
OKLCHoklch(81.76% 0.13 79.3)
XYZxyz(55.0487, 53.9316, 16.7411)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0B958 #588FF0
analogous
#F06D58 #F0B958 #DBF058
triadic
#F0B958 #58F0B9 #B958F0
tetradic
#F0B958 #58F06D #588FF0 #F058DB
square
#F0B958 #58F06D #588FF0 #F058DB
split-complementary
#F0B958 #58DBF0 #6D58F0
monochromatic
#BD7F11 #EBA120 #F0B958 #F5D190 #FAE8C8

Accessibility & contrast

On white

1.78
#F0B958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#F0B958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0B958
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0B958#FFFFFF#000000##000000
##F0B9581.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4E
Deuteranopia (green-blind)
#DCC85B
Tritanopia (blue-blind)
#FFA9A4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #f0b958;
/* rgb */ color: rgb(240, 185, 88);
/* oklch */ color: oklch(81.8% 0.130 79.3);
Tailwind
colors: {
  custom: {
    50: '#f9cd8b',
    500: '#f0b958',
    950: '#000000',
  },
}
SCSS
$custom: #f0b958;
$custom-light: #f9cd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0b958",
  "rgb": {
    "r": 240,
    "g": 185,
    "b": 88
  },
  "hsl": {
    "h": 38.289,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8176,
    "c": 0.13006,
    "h": 79.3
  },
  "luminance": 0.53928
}

Semantic roles & 50–950 ramp

primary
#F0B958
secondary
#3163BB
accent
#55E006
background
#FFFEFC
surface
#FFFAF4
border
#D7D3CE
text
#18130C
muted
#86837F

Preview Lab

Preview with #F0B958

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

Preview Lab → · Contrast checker → · Palette generator →

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