#FFB540#FFB540

#FFB540 is a very light, vivid orange. Relative luminance 0.547; OKLCH L 82.4% C 0.152 H 74.5°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#FFB540
RGBrgb(255, 181, 64)
HSLhsl(37, 100%, 63%)
HSVhsv(37, 75%, 100%)
CMYKcmyk(0%, 29%, 74.9%, 0%)
CIE-LABlab(78.86, 16.91, 66.83)
CIE-LCHlch(78.86, 68.94, 75.80°)
OKLaboklab(82.4% 0.0409 0.1469)
OKLCHoklch(82.4% 0.152 74.5)
XYZxyz(58.6935, 54.6829, 12.3131)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFB540 #408AFF
analogous
#FF5640 #FFB540 #E9FF40
triadic
#FFB540 #40FFB5 #B540FF
tetradic
#FFB540 #40FF56 #408AFF #FF40E9
square
#FFB540 #40FF56 #408AFF #FF40E9
split-complementary
#FFB540 #40E9FF #5640FF
monochromatic
#C57800 #FF9D03 #FFB540 #FFCD7D #FFE4BA

Accessibility & contrast

On white

1.76
#FFB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#FFB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFB540
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFB540#FFFFFF#000000##000000
##FFB5401.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92E
Deuteranopia (green-blind)
#E1CA44
Tritanopia (blue-blind)
#FFA29E
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ffb540;
/* rgb */ color: rgb(255, 181, 64);
/* oklch */ color: oklch(82.4% 0.152 74.5);
Tailwind
colors: {
  custom: {
    50: '#ffcb7c',
    500: '#ffb540',
    950: '#000000',
  },
}
SCSS
$custom: #ffb540;
$custom-light: #ffcb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffb540",
  "rgb": {
    "r": 255,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 36.754,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82395,
    "c": 0.15245,
    "h": 74.5
  },
  "luminance": 0.54678
}

Semantic roles & 50–950 ramp

primary
#FFB540
secondary
#2260C1
accent
#59E600
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#19130A
muted
#87827D

Preview Lab

Preview with #FFB540

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

Preview Lab → · Contrast checker → · Palette generator →

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