#26520F#26520F

#26520F is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.2% C 0.107 H 137.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#26520F
RGBrgb(38, 82, 15)
HSLhsl(99, 69%, 19%)
HSVhsv(99, 82%, 32%)
CMYKcmyk(53.7%, 0%, 81.7%, 67.8%)
CIE-LABlab(30.59, -28.34, 32.42)
CIE-LCHlch(30.59, 43.06, 131.16°)
OKLaboklab(39.23% -0.0786 0.0727)
OKLCHoklch(39.23% 0.107 137.2)
XYZxyz(3.9027, 6.4809, 1.4971)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26520F #3B0F52
analogous
#48520F #26520F #0F521A
triadic
#26520F #0F2652 #520F26
tetradic
#26520F #0F4852 #3B0F52 #521A0F
square
#26520F #0F4852 #3B0F52 #521A0F
split-complementary
#26520F #1A0F52 #520F48
monochromatic
#0C1A05 #0E1E06 #26520F #3E8618 #56B922

Accessibility & contrast

On white

9.15
#26520F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#26520F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26520F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26520F#FFFFFF#000000##FFFFFF
##26520F1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A03
Deuteranopia (green-blind)
#4F4716
Tritanopia (blue-blind)
#234F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #26520f;
/* rgb */ color: rgb(38, 82, 15);
/* oklch */ color: oklch(39.2% 0.107 137.2);
Tailwind
colors: {
  custom: {
    50: '#668353',
    500: '#26520f',
    950: '#000000',
  },
}
SCSS
$custom: #26520f;
$custom-light: #668353;
$custom-dark: #000000;
JSON
{
  "hex": "#26520f",
  "rgb": {
    "r": 38,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 99.403,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39225,
    "c": 0.10705,
    "h": 137.2
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#26520F
secondary
#6D318C
accent
#3CECAF
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #26520F

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

Preview Lab → · Contrast checker → · Palette generator →

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