#26540D#26540D

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

Color values

HEX#26540D
RGBrgb(38, 84, 13)
HSLhsl(99, 73%, 19%)
HSVhsv(99, 85%, 33%)
CMYKcmyk(54.8%, 0%, 84.5%, 67.1%)
CIE-LABlab(31.30, -29.37, 33.86)
CIE-LCHlch(31.30, 44.83, 130.93°)
OKLaboklab(39.81% -0.0815 0.0754)
OKLCHoklch(39.81% 0.111 137.2)
XYZxyz(4.0422, 6.7815, 1.4766)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26540D #3B0D54
analogous
#4A540D #26540D #0D5418
triadic
#26540D #0D2654 #540D26
tetradic
#26540D #0D4A54 #3B0D54 #54180D
square
#26540D #0D4A54 #3B0D54 #54180D
split-complementary
#26540D #180D54 #540D4A
monochromatic
#0C1A04 #0E1F05 #26540D #3E8915 #56BE1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26540D#FFFFFF#000000##FFFFFF
##26540D1.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)
#574C00
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#235147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #26540d;
/* rgb */ color: rgb(38, 84, 13);
/* oklch */ color: oklch(39.8% 0.111 137.2);
Tailwind
colors: {
  custom: {
    50: '#668452',
    500: '#26540d',
    950: '#000000',
  },
}
SCSS
$custom: #26540d;
$custom-light: #668452;
$custom-dark: #000000;
JSON
{
  "hex": "#26540d",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 98.873,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39805,
    "c": 0.11101,
    "h": 137.2
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#26540D
secondary
#6D2E8F
accent
#38F0AF
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #26540D

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

Preview Lab → · Contrast checker → · Palette generator →

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