#FFC540#FFC540

#FFC540 is a very light, vivid orange. Relative luminance 0.616; OKLCH L 85.4% C 0.156 H 83.8°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#FFC540
RGBrgb(255, 197, 64)
HSLhsl(42, 100%, 63%)
HSVhsv(42, 75%, 100%)
CMYKcmyk(0%, 22.7%, 74.9%, 0%)
CIE-LABlab(82.68, 8.59, 70.51)
CIE-LCHlch(82.68, 71.03, 83.05°)
OKLaboklab(85.39% 0.0167 0.1547)
OKLCHoklch(85.39% 0.156 83.8)
XYZxyz(62.1357, 61.5672, 13.4605)
Luminance0.6156 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFC540 #407AFF
analogous
#FF6540 #FFC540 #DAFF40
triadic
#FFC540 #40FFC5 #C540FF
tetradic
#FFC540 #40FF65 #407AFF #FF40DA
square
#FFC540 #40FF65 #407AFF #FF40DA
split-complementary
#FFC540 #40DAFF #6540FF
monochromatic
#C58900 #FFB203 #FFC540 #FFD87D #FFEABA

Accessibility & contrast

On white

1.58
#FFC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#FFC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFC540
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFC540#FFFFFF#000000##000000
##FFC5401.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52A
Deuteranopia (green-blind)
#ECD446
Tritanopia (blue-blind)
#FFB3AB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ffc540;
/* rgb */ color: rgb(255, 197, 64);
/* oklch */ color: oklch(85.4% 0.156 83.8);
Tailwind
colors: {
  custom: {
    50: '#ffd67e',
    500: '#ffc540',
    950: '#000000',
  },
}
SCSS
$custom: #ffc540;
$custom-light: #ffd67e;
$custom-dark: #000000;
JSON
{
  "hex": "#ffc540",
  "rgb": {
    "r": 255,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 41.78,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.85389,
    "c": 0.15562,
    "h": 83.8
  },
  "luminance": 0.61563
}

Semantic roles & 50–950 ramp

primary
#FFC540
secondary
#2252C1
accent
#46E600
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#19140A
muted
#87837D

Preview Lab

Preview with #FFC540

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

Preview Lab → · Contrast checker → · Palette generator →

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