#2B5615#2B5615

#2B5615 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.106 H 137.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2B5615
RGBrgb(43, 86, 21)
HSLhsl(100, 61%, 21%)
HSVhsv(100, 76%, 34%)
CMYKcmyk(50%, 0%, 75.6%, 66.3%)
CIE-LABlab(32.31, -27.89, 31.70)
CIE-LCHlch(32.31, 42.23, 131.34°)
OKLaboklab(40.71% -0.0773 0.0721)
OKLCHoklch(40.71% 0.106 137)
XYZxyz(4.4593, 7.2230, 1.8685)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5615 #401556
analogous
#4B5615 #2B5615 #15561F
triadic
#2B5615 #152B56 #56152B
tetradic
#2B5615 #154B56 #401556 #561F15
square
#2B5615 #154B56 #401556 #561F15
split-complementary
#2B5615 #1F1556 #56154B
monochromatic
#0C1906 #122509 #2B5615 #448721 #5CB82D

Accessibility & contrast

On white

8.59
#2B5615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2B5615 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5615
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5615#FFFFFF#000000##FFFFFF
##2B56151.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0B
Deuteranopia (green-blind)
#534B1B
Tritanopia (blue-blind)
#295349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b5615;
/* rgb */ color: rgb(43, 86, 21);
/* oklch */ color: oklch(40.7% 0.106 137.0);
Tailwind
colors: {
  custom: {
    50: '#698657',
    500: '#2b5615',
    950: '#000000',
  },
}
SCSS
$custom: #2b5615;
$custom-light: #698657;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5615",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 21
  },
  "hsl": {
    "h": 99.692,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40713,
    "c": 0.10568,
    "h": 137
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#2B5615
secondary
#71398E
accent
#44E4AE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5615

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

Preview Lab → · Contrast checker → · Palette generator →

#2B5615 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva