#F0BA4F#F0BA4F

#F0BA4F is a light, vivid orange. Relative luminance 0.542; OKLCH L 81.9% C 0.137 H 81.7°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#F0BA4F
RGBrgb(240, 186, 79)
HSLhsl(40, 84%, 63%)
HSVhsv(40, 67%, 94%)
CMYKcmyk(0%, 22.5%, 67.1%, 5.9%)
CIE-LABlab(78.58, 8.73, 59.86)
CIE-LCHlch(78.58, 60.49, 81.70°)
OKLaboklab(81.86% 0.0198 0.1354)
OKLCHoklch(81.86% 0.137 81.7)
XYZxyz(54.9086, 54.2114, 14.9675)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0BA4F #4F85F0
analogous
#F06A4F #F0BA4F #D5F04F
triadic
#F0BA4F #4FF0BA #BA4FF0
tetradic
#F0BA4F #4FF06A #4F85F0 #F04FD5
square
#F0BA4F #4FF06A #4F85F0 #F04FD5
split-complementary
#F0BA4F #4FD5F0 #6A4FF0
monochromatic
#B57E0F #EBA417 #F0BA4F #F5D087 #FAE6C0

Accessibility & contrast

On white

1.77
#F0BA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#F0BA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0BA4F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0BA4F#FFFFFF#000000##000000
##F0BA4F1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA42
Deuteranopia (green-blind)
#DDC853
Tritanopia (blue-blind)
#FFAAA3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #f0ba4f;
/* rgb */ color: rgb(240, 186, 79);
/* oklch */ color: oklch(81.9% 0.137 81.7);
Tailwind
colors: {
  custom: {
    50: '#f9ce85',
    500: '#f0ba4f',
    950: '#000000',
  },
}
SCSS
$custom: #f0ba4f;
$custom-light: #f9ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ba4f",
  "rgb": {
    "r": 240,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 39.876,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81862,
    "c": 0.13687,
    "h": 81.7
  },
  "luminance": 0.54208
}

Semantic roles & 50–950 ramp

primary
#F0BA4F
secondary
#2F5CB5
accent
#4FE105
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#18130B
muted
#86837E

Preview Lab

Preview with #F0BA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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