#2B4615#2B4615

#2B4615 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.082 H 133.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2B4615
RGBrgb(43, 70, 21)
HSLhsl(93, 54%, 18%)
HSVhsv(93, 70%, 27%)
CMYKcmyk(38.6%, 0%, 70%, 72.5%)
CIE-LABlab(26.59, -20.09, 25.59)
CIE-LCHlch(26.59, 32.53, 128.13°)
OKLaboklab(36.03% -0.0561 0.0592)
OKLCHoklch(36.03% 0.082 133.4)
XYZxyz(3.3217, 4.9479, 1.4893)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4615 #301546
analogous
#434615 #2B4615 #154617
triadic
#2B4615 #152B46 #46152B
tetradic
#2B4615 #154346 #301546 #461715
square
#2B4615 #154346 #301546 #461715
split-complementary
#2B4615 #171546 #461543
monochromatic
#0E1807 #0E1807 #2B4615 #487523 #65A431

Accessibility & contrast

On white

10.55
#2B4615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B4615 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4615
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4615#FFFFFF#000000##FFFFFF
##2B46151.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400F
Deuteranopia (green-blind)
#453E19
Tritanopia (blue-blind)
#2B433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b4615;
/* rgb */ color: rgb(43, 70, 21);
/* oklch */ color: oklch(36.0% 0.082 133.4);
Tailwind
colors: {
  custom: {
    50: '#677955',
    500: '#2b4615',
    950: '#000000',
  },
}
SCSS
$custom: #2b4615;
$custom-light: #677955;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4615",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 21
  },
  "hsl": {
    "h": 93.061,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36031,
    "c": 0.08152,
    "h": 133.4
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#2B4615
secondary
#5F397E
accent
#4BDD9B
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4615

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

Preview Lab → · Contrast checker → · Palette generator →

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