#26540F#26540F

#26540F is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.110 H 137.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#26540F
RGBrgb(38, 84, 15)
HSLhsl(100, 70%, 19%)
HSVhsv(100, 82%, 33%)
CMYKcmyk(54.8%, 0%, 82.1%, 67.1%)
CIE-LABlab(31.32, -29.23, 33.13)
CIE-LCHlch(31.32, 44.18, 131.42°)
OKLaboklab(39.82% -0.081 0.0741)
OKLCHoklch(39.82% 0.11 137.5)
XYZxyz(4.0557, 6.7869, 1.5481)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26540F #3D0F54
analogous
#49540F #26540F #0F541B
triadic
#26540F #0F2654 #540F26
tetradic
#26540F #0F4954 #3D0F54 #541B0F
square
#26540F #0F4954 #3D0F54 #541B0F
split-complementary
#26540F #1B0F54 #540F49
monochromatic
#0C1A05 #0F2006 #26540F #3D8818 #55BC22

Accessibility & contrast

On white

8.91
#26540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#26540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26540F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26540F#FFFFFF#000000##FFFFFF
##26540F1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C02
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#235147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #26540f;
/* rgb */ color: rgb(38, 84, 15);
/* oklch */ color: oklch(39.8% 0.110 137.5);
Tailwind
colors: {
  custom: {
    50: '#668453',
    500: '#26540f',
    950: '#000000',
  },
}
SCSS
$custom: #26540f;
$custom-light: #668453;
$custom-dark: #000000;
JSON
{
  "hex": "#26540f",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 100,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.10981,
    "h": 137.5
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#26540F
secondary
#6F318E
accent
#3BEDB1
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #26540F

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

Preview Lab → · Contrast checker → · Palette generator →

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