#36540F#36540F

#36540F is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.101 H 130.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#36540F
RGBrgb(54, 84, 15)
HSLhsl(86, 70%, 19%)
HSVhsv(86, 82%, 33%)
CMYKcmyk(35.7%, 0%, 82.1%, 67.1%)
CIE-LABlab(32.17, -23.08, 34.24)
CIE-LCHlch(32.17, 41.30, 123.99°)
OKLaboklab(40.75% -0.0656 0.0762)
OKLCHoklch(40.75% 0.101 130.7)
XYZxyz(4.7778, 7.1592, 1.5820)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36540F #2D0F54
analogous
#54500F #36540F #14540F
triadic
#36540F #0F3654 #540F36
tetradic
#36540F #0F5450 #2D0F54 #540F14
square
#36540F #0F5450 #2D0F54 #540F14
split-complementary
#36540F #0F1454 #500F54
monochromatic
#111A05 #152006 #36540F #578818 #79BC22

Accessibility & contrast

On white

8.64
#36540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#36540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36540F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36540F#FFFFFF#000000##FFFFFF
##36540F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D02
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#375047
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #36540f;
/* rgb */ color: rgb(54, 84, 15);
/* oklch */ color: oklch(40.7% 0.101 130.7);
Tailwind
colors: {
  custom: {
    50: '#708453',
    500: '#36540f',
    950: '#000000',
  },
}
SCSS
$custom: #36540f;
$custom-light: #708453;
$custom-dark: #000000;
JSON
{
  "hex": "#36540f",
  "rgb": {
    "r": 54,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 86.087,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40746,
    "c": 0.10051,
    "h": 130.7
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#36540F
secondary
#59318E
accent
#3BED88
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #36540F

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

Preview Lab → · Contrast checker → · Palette generator →

#36540F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva