#FFB840#FFB840

#FFB840 is a very light, vivid orange. Relative luminance 0.559; OKLCH L 82.9% C 0.153 H 76.2°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#FFB840
RGBrgb(255, 184, 64)
HSLhsl(38, 100%, 63%)
HSVhsv(38, 75%, 100%)
CMYKcmyk(0%, 27.8%, 74.9%, 0%)
CIE-LABlab(79.57, 15.35, 67.52)
CIE-LCHlch(79.57, 69.24, 77.20°)
OKLaboklab(82.95% 0.0363 0.1483)
OKLCHoklch(82.95% 0.153 76.2)
XYZxyz(59.3101, 55.9160, 12.5187)
Luminance0.5591 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFB840 #4087FF
analogous
#FF5840 #FFB840 #E7FF40
triadic
#FFB840 #40FFB8 #B840FF
tetradic
#FFB840 #40FF58 #4087FF #FF40E7
square
#FFB840 #40FF58 #4087FF #FF40E7
split-complementary
#FFB840 #40E7FF #5840FF
monochromatic
#C57C00 #FFA103 #FFB840 #FFCF7D #FFE5BA

Accessibility & contrast

On white

1.72
#FFB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#FFB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFB840
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFB840#FFFFFF#000000##000000
##FFB8401.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2E
Deuteranopia (green-blind)
#E3CC44
Tritanopia (blue-blind)
#FFA5A0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ffb840;
/* rgb */ color: rgb(255, 184, 64);
/* oklch */ color: oklch(82.9% 0.153 76.2);
Tailwind
colors: {
  custom: {
    50: '#ffcd7c',
    500: '#ffb840',
    950: '#000000',
  },
}
SCSS
$custom: #ffb840;
$custom-light: #ffcd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffb840",
  "rgb": {
    "r": 255,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 37.696,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82948,
    "c": 0.15271,
    "h": 76.2
  },
  "luminance": 0.55911
}

Semantic roles & 50–950 ramp

primary
#FFB840
secondary
#225DC1
accent
#55E600
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#19130A
muted
#87837D

Preview Lab

Preview with #FFB840

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

Preview Lab → · Contrast checker → · Palette generator →

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