#F0B451#F0B451

#F0B451 is a light, vivid orange. Relative luminance 0.518; OKLCH L 80.7% C 0.134 H 77.2°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#F0B451
RGBrgb(240, 180, 81)
HSLhsl(37, 84%, 63%)
HSVhsv(37, 66%, 94%)
CMYKcmyk(0%, 25%, 66.3%, 5.9%)
CIE-LABlab(77.14, 11.99, 57.42)
CIE-LCHlch(77.14, 58.66, 78.20°)
OKLaboklab(80.74% 0.0296 0.1306)
OKLCHoklch(80.74% 0.134 77.2)
XYZxyz(53.7450, 51.7658, 14.9441)
Luminance0.5176 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0B451 #518DF0
analogous
#F06451 #F0B451 #DDF051
triadic
#F0B451 #51F0B4 #B451F0
tetradic
#F0B451 #51F064 #518DF0 #F051DD
square
#F0B451 #51F064 #518DF0 #F051DD
split-complementary
#F0B451 #51DDF0 #6451F0
monochromatic
#B77810 #EB9C19 #F0B451 #F5CC89 #FAE5C2

Accessibility & contrast

On white

1.85
#F0B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#F0B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0B451
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0B451#FFFFFF#000000##000000
##F0B4511.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB646
Deuteranopia (green-blind)
#D9C454
Tritanopia (blue-blind)
#FFA39F
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f0b451;
/* rgb */ color: rgb(240, 180, 81);
/* oklch */ color: oklch(80.7% 0.134 77.2);
Tailwind
colors: {
  custom: {
    50: '#f9ca86',
    500: '#f0b451',
    950: '#000000',
  },
}
SCSS
$custom: #f0b451;
$custom-light: #f9ca86;
$custom-dark: #000000;
JSON
{
  "hex": "#f0b451",
  "rgb": {
    "r": 240,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 37.358,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.80736,
    "c": 0.13388,
    "h": 77.2
  },
  "luminance": 0.51762
}

Semantic roles & 50–950 ramp

primary
#F0B451
secondary
#2F62B6
accent
#58E105
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#18130B
muted
#86827E

Preview Lab

Preview with #F0B451

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

Preview Lab → · Contrast checker → · Palette generator →

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