#F0B258#F0B258

#F0B258 is a light, vivid orange. Relative luminance 0.511; OKLCH L 80.4% C 0.129 H 74.3°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#F0B258
RGBrgb(240, 178, 88)
HSLhsl(36, 84%, 64%)
HSVhsv(36, 63%, 94%)
CMYKcmyk(0%, 25.8%, 63.3%, 5.9%)
CIE-LABlab(76.72, 13.47, 53.75)
CIE-LCHlch(76.72, 55.41, 75.93°)
OKLaboklab(80.43% 0.0349 0.1238)
OKLCHoklch(80.43% 0.129 74.3)
XYZxyz(53.6203, 51.0746, 16.2649)
Luminance0.5107 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0B258 #5896F0
analogous
#F06658 #F0B258 #E2F058
triadic
#F0B258 #58F0B2 #B258F0
tetradic
#F0B258 #58F066 #5896F0 #F058E2
square
#F0B258 #58F066 #5896F0 #F058E2
split-complementary
#F0B258 #58E2F0 #6658F0
monochromatic
#BD7711 #EB9820 #F0B258 #F5CC90 #FAE6C8

Accessibility & contrast

On white

1.87
#F0B258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#F0B258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0B258
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0B258#FFFFFF#000000##000000
##F0B2581.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54F
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#FFA29E
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #f0b258;
/* rgb */ color: rgb(240, 178, 88);
/* oklch */ color: oklch(80.4% 0.129 74.3);
Tailwind
colors: {
  custom: {
    50: '#f9c88a',
    500: '#f0b258',
    950: '#000000',
  },
}
SCSS
$custom: #f0b258;
$custom-light: #f9c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0b258",
  "rgb": {
    "r": 240,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 35.526,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.80431,
    "c": 0.12856,
    "h": 74.3
  },
  "luminance": 0.51071
}

Semantic roles & 50–950 ramp

primary
#F0B258
secondary
#3169BB
accent
#5FE006
background
#FFFDFC
surface
#FFF9F4
border
#D7D2CE
text
#18130C
muted
#86827F

Preview Lab

Preview with #F0B258

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

Preview Lab → · Contrast checker → · Palette generator →

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