#FFB240#FFB240

#FFB240 is a light, vivid orange. Relative luminance 0.535; OKLCH L 81.8% C 0.152 H 72.6°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#FFB240
RGBrgb(255, 178, 64)
HSLhsl(36, 100%, 63%)
HSVhsv(36, 75%, 100%)
CMYKcmyk(0%, 30.2%, 74.9%, 0%)
CIE-LABlab(78.16, 18.48, 66.15)
CIE-LCHlch(78.16, 68.68, 74.39°)
OKLaboklab(81.85% 0.0454 0.1454)
OKLCHoklch(81.85% 0.152 72.6)
XYZxyz(58.0901, 53.4760, 12.1120)
Luminance0.5347 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFB240 #408DFF
analogous
#FF5340 #FFB240 #ECFF40
triadic
#FFB240 #40FFB2 #B240FF
tetradic
#FFB240 #40FF53 #408DFF #FF40EC
square
#FFB240 #40FF53 #408DFF #FF40EC
split-complementary
#FFB240 #40ECFF #5340FF
monochromatic
#C57500 #FF9903 #FFB240 #FFCB7D #FFE3BA

Accessibility & contrast

On white

1.80
#FFB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#FFB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFB240
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFB240#FFFFFF#000000##000000
##FFB2401.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62F
Deuteranopia (green-blind)
#DFC944
Tritanopia (blue-blind)
#FF9E9B
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ffb240;
/* rgb */ color: rgb(255, 178, 64);
/* oklch */ color: oklch(81.8% 0.152 72.6);
Tailwind
colors: {
  custom: {
    50: '#ffc97c',
    500: '#ffb240',
    950: '#000000',
  },
}
SCSS
$custom: #ffb240;
$custom-light: #ffc97c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffb240",
  "rgb": {
    "r": 255,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 35.812,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81846,
    "c": 0.15234,
    "h": 72.6
  },
  "luminance": 0.53471
}

Semantic roles & 50–950 ramp

primary
#FFB240
secondary
#2262C1
accent
#5DE600
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#19130A
muted
#87827D

Preview Lab

Preview with #FFB240

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

Preview Lab → · Contrast checker → · Palette generator →

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