#2B4715#2B4715

#2B4715 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.3% C 0.083 H 133.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2B4715
RGBrgb(43, 71, 21)
HSLhsl(94, 54%, 18%)
HSVhsv(94, 70%, 28%)
CMYKcmyk(39.4%, 0%, 70.4%, 72.2%)
CIE-LABlab(26.94, -20.61, 25.99)
CIE-LCHlch(26.94, 33.17, 128.41°)
OKLaboklab(36.32% -0.0575 0.06)
OKLCHoklch(36.32% 0.083 133.8)
XYZxyz(3.3848, 5.0741, 1.5104)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4715 #311547
analogous
#444715 #2B4715 #154718
triadic
#2B4715 #152B47 #47152B
tetradic
#2B4715 #154447 #311547 #471815
square
#2B4715 #154447 #311547 #471815
split-complementary
#2B4715 #181547 #471544
monochromatic
#0E1807 #0E1807 #2B4715 #487623 #64A531

Accessibility & contrast

On white

10.42
#2B4715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B4715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4715
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4715#FFFFFF#000000##FFFFFF
##2B47151.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410F
Deuteranopia (green-blind)
#463F19
Tritanopia (blue-blind)
#2B443D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b4715;
/* rgb */ color: rgb(43, 71, 21);
/* oklch */ color: oklch(36.3% 0.083 133.8);
Tailwind
colors: {
  custom: {
    50: '#677a55',
    500: '#2b4715',
    950: '#000000',
  },
}
SCSS
$custom: #2b4715;
$custom-light: #677a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4715",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 21
  },
  "hsl": {
    "h": 93.6,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36323,
    "c": 0.0831,
    "h": 133.8
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

primary
#2B4715
secondary
#60397F
accent
#4ADE9D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4715

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

Preview Lab → · Contrast checker → · Palette generator →

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