#26520B#26520B

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

Color values

HEX#26520B
RGBrgb(38, 82, 11)
HSLhsl(97, 76%, 18%)
HSVhsv(97, 87%, 32%)
CMYKcmyk(53.7%, 0%, 86.6%, 67.8%)
CIE-LABlab(30.57, -28.62, 33.87)
CIE-LCHlch(30.57, 44.34, 130.19°)
OKLaboklab(39.2% -0.0796 0.0751)
OKLCHoklch(39.2% 0.109 136.7)
XYZxyz(3.8769, 6.4705, 1.3612)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26520B #370B52
analogous
#49520B #26520B #0B5213
triadic
#26520B #0B2652 #520B26
tetradic
#26520B #0B4952 #370B52 #52130B
square
#26520B #0B4952 #370B52 #52130B
split-complementary
#26520B #130B52 #520B49
monochromatic
#0D1B04 #0D1C04 #26520B #3F8812 #58BE19

Accessibility & contrast

On white

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

On black

2.29
#26520B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##26520B#FFFFFF#000000##FFFFFF
##26520B1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#4F4713
Tritanopia (blue-blind)
#244F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #26520b;
/* rgb */ color: rgb(38, 82, 11);
/* oklch */ color: oklch(39.2% 0.109 136.7);
Tailwind
colors: {
  custom: {
    50: '#668351',
    500: '#26520b',
    950: '#000000',
  },
}
SCSS
$custom: #26520b;
$custom-light: #668351;
$custom-dark: #000000;
JSON
{
  "hex": "#26520b",
  "rgb": {
    "r": 38,
    "g": 82,
    "b": 11
  },
  "hsl": {
    "h": 97.183,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39197,
    "c": 0.10941,
    "h": 136.7
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#26520B
secondary
#682B8E
accent
#35F3AB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #26520B

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

Preview Lab → · Contrast checker → · Palette generator →

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