#2B4915#2B4915

#2B4915 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.086 H 134.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2B4915
RGBrgb(43, 73, 21)
HSLhsl(95, 55%, 18%)
HSVhsv(95, 71%, 29%)
CMYKcmyk(41.1%, 0%, 71.2%, 71.4%)
CIE-LABlab(27.66, -21.63, 26.77)
CIE-LCHlch(27.66, 34.42, 128.94°)
OKLaboklab(36.91% -0.0603 0.0617)
OKLCHoklch(36.91% 0.086 134.3)
XYZxyz(3.5141, 5.3327, 1.5535)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4915 #331549
analogous
#454915 #2B4915 #154919
triadic
#2B4915 #152B49 #49152B
tetradic
#2B4915 #154549 #331549 #491915
square
#2B4915 #154549 #331549 #491915
split-complementary
#2B4915 #191549 #491545
monochromatic
#0E1807 #0F1907 #2B4915 #477923 #63A830

Accessibility & contrast

On white

10.16
#2B4915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2B4915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4915
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4915#FFFFFF#000000##FFFFFF
##2B49151.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430F
Deuteranopia (green-blind)
#484019
Tritanopia (blue-blind)
#2B463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b4915;
/* rgb */ color: rgb(43, 73, 21);
/* oklch */ color: oklch(36.9% 0.086 134.3);
Tailwind
colors: {
  custom: {
    50: '#677c55',
    500: '#2b4915',
    950: '#000000',
  },
}
SCSS
$custom: #2b4915;
$custom-light: #677c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4915",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 21
  },
  "hsl": {
    "h": 94.615,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36909,
    "c": 0.08624,
    "h": 134.3
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#2B4915
secondary
#623981
accent
#49DF9F
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4915

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

Preview Lab → · Contrast checker → · Palette generator →

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