#2B4112#2B4112

#2B4112 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.076 H 130.8°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2B4112
RGBrgb(43, 65, 18)
HSLhsl(88, 57%, 16%)
HSVhsv(88, 72%, 25%)
CMYKcmyk(33.8%, 0%, 72.3%, 74.5%)
CIE-LABlab(24.76, -17.74, 25.14)
CIE-LCHlch(24.76, 30.77, 125.22°)
OKLaboklab(34.53% -0.0499 0.0578)
OKLCHoklch(34.53% 0.076 130.8)
XYZxyz(2.9957, 4.3378, 1.2516)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4112 #281241
analogous
#414012 #2B4112 #144112
triadic
#2B4112 #122B41 #41122B
tetradic
#2B4112 #124140 #281241 #411214
square
#2B4112 #124140 #281241 #411214
split-complementary
#2B4112 #121441 #401241
monochromatic
#101807 #101807 #2B4112 #4B711F #6AA12D

Accessibility & contrast

On white

11.24
#2B4112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B4112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4112
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4112#FFFFFF#000000##FFFFFF
##2B41121.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0C
Deuteranopia (green-blind)
#413A16
Tritanopia (blue-blind)
#2C3E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b4112;
/* rgb */ color: rgb(43, 65, 18);
/* oklch */ color: oklch(34.5% 0.076 130.8);
Tailwind
colors: {
  custom: {
    50: '#667552',
    500: '#2b4112',
    950: '#000000',
  },
}
SCSS
$custom: #2b4112;
$custom-light: #667552;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4112",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 18
  },
  "hsl": {
    "h": 88.085,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34533,
    "c": 0.07637,
    "h": 130.8
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#2B4112
secondary
#55357A
accent
#48E08F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B4112

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

Preview Lab → · Contrast checker → · Palette generator →

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