#F0BC4F#F0BC4F

#F0BC4F is a very light, vivid orange. Relative luminance 0.551; OKLCH L 82.2% C 0.138 H 83.0°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#F0BC4F
RGBrgb(240, 188, 79)
HSLhsl(41, 84%, 63%)
HSVhsv(41, 67%, 94%)
CMYKcmyk(0%, 21.7%, 67.1%, 5.9%)
CIE-LABlab(79.08, 7.69, 60.38)
CIE-LCHlch(79.08, 60.87, 82.75°)
OKLaboklab(82.25% 0.0168 0.1365)
OKLCHoklch(82.25% 0.138 83)
XYZxyz(55.3329, 55.0600, 15.1089)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0BC4F #4F83F0
analogous
#F06B4F #F0BC4F #D4F04F
triadic
#F0BC4F #4FF0BC #BC4FF0
tetradic
#F0BC4F #4FF06B #4F83F0 #F04FD4
square
#F0BC4F #4FF06B #4F83F0 #F04FD4
split-complementary
#F0BC4F #4FD4F0 #6B4FF0
monochromatic
#B5800F #EBA717 #F0BC4F #F5D187 #FAE7C0

Accessibility & contrast

On white

1.75
#F0BC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#F0BC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0BC4F
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0BC4F#FFFFFF#000000##000000
##F0BC4F1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC42
Deuteranopia (green-blind)
#DFC953
Tritanopia (blue-blind)
#FFACA5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #f0bc4f;
/* rgb */ color: rgb(240, 188, 79);
/* oklch */ color: oklch(82.2% 0.138 83.0);
Tailwind
colors: {
  custom: {
    50: '#f9cf85',
    500: '#f0bc4f',
    950: '#000000',
  },
}
SCSS
$custom: #f0bc4f;
$custom-light: #f9cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#f0bc4f",
  "rgb": {
    "r": 240,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 40.621,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82247,
    "c": 0.13757,
    "h": 83
  },
  "luminance": 0.55056
}

Semantic roles & 50–950 ramp

primary
#F0BC4F
secondary
#2F5AB5
accent
#4CE105
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18130B
muted
#86837E

Preview Lab

Preview with #F0BC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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