#F0B257#F0B257

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

Color values

HEX#F0B257
RGBrgb(240, 178, 87)
HSLhsl(36, 84%, 64%)
HSVhsv(36, 64%, 94%)
CMYKcmyk(0%, 25.8%, 63.7%, 5.9%)
CIE-LABlab(76.71, 13.41, 54.21)
CIE-LCHlch(76.71, 55.84, 76.11°)
OKLaboklab(80.42% 0.0345 0.1246)
OKLCHoklch(80.42% 0.129 74.5)
XYZxyz(53.5791, 51.0582, 16.0482)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0B257 #5795F0
analogous
#F06657 #F0B257 #E2F057
triadic
#F0B257 #57F0B2 #B257F0
tetradic
#F0B257 #57F066 #5795F0 #F057E2
square
#F0B257 #57F066 #5795F0 #F057E2
split-complementary
#F0B257 #57E2F0 #6657F0
monochromatic
#BC7711 #EB981F #F0B257 #F5CC8F #FAE6C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0B257#FFFFFF#000000##000000
##F0B2571.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)
#C9B54E
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#FFA29E
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #f0b257;
/* rgb */ color: rgb(240, 178, 87);
/* oklch */ color: oklch(80.4% 0.129 74.5);
Tailwind
colors: {
  custom: {
    50: '#f9c889',
    500: '#f0b257',
    950: '#000000',
  },
}
SCSS
$custom: #f0b257;
$custom-light: #f9c889;
$custom-dark: #000000;
JSON
{
  "hex": "#f0b257",
  "rgb": {
    "r": 240,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 35.686,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8042,
    "c": 0.12929,
    "h": 74.5
  },
  "luminance": 0.51054
}

Semantic roles & 50–950 ramp

primary
#F0B257
secondary
#3169BA
accent
#5EE005
background
#FFFDFC
surface
#FFF9F4
border
#D7D2CE
text
#18130C
muted
#86827F

Preview Lab

Preview with #F0B257

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

Preview Lab → · Contrast checker → · Palette generator →

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