#F0B157#F0B157

#F0B157 is a light, vivid orange. Relative luminance 0.507; OKLCH L 80.2% C 0.129 H 73.8°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#F0B157
RGBrgb(240, 177, 87)
HSLhsl(35, 84%, 64%)
HSVhsv(35, 64%, 94%)
CMYKcmyk(0%, 26.3%, 63.7%, 5.9%)
CIE-LABlab(76.47, 13.93, 53.94)
CIE-LCHlch(76.47, 55.71, 75.52°)
OKLaboklab(80.23% 0.0361 0.124)
OKLCHoklch(80.23% 0.129 73.8)
XYZxyz(53.3809, 50.6617, 15.9822)
Luminance0.5066 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0B157 #5796F0
analogous
#F06557 #F0B157 #E3F057
triadic
#F0B157 #57F0B1 #B157F0
tetradic
#F0B157 #57F065 #5796F0 #F057E3
square
#F0B157 #57F065 #5796F0 #F057E3
split-complementary
#F0B157 #57E3F0 #6557F0
monochromatic
#BC7511 #EB971F #F0B157 #F5CB8F #FAE5C7

Accessibility & contrast

On white

1.89
#F0B157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#F0B157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0B157
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0B157#FFFFFF#000000##000000
##F0B1571.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44E
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#FFA19D
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #f0b157;
/* rgb */ color: rgb(240, 177, 87);
/* oklch */ color: oklch(80.2% 0.129 73.8);
Tailwind
colors: {
  custom: {
    50: '#f9c889',
    500: '#f0b157',
    950: '#000000',
  },
}
SCSS
$custom: #f0b157;
$custom-light: #f9c889;
$custom-dark: #000000;
JSON
{
  "hex": "#f0b157",
  "rgb": {
    "r": 240,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 35.294,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.80232,
    "c": 0.12915,
    "h": 73.8
  },
  "luminance": 0.50658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0B157

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

Preview Lab → · Contrast checker → · Palette generator →

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