#2B4D13#2B4D13

#2B4D13 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.1% C 0.094 H 134.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2B4D13
RGBrgb(43, 77, 19)
HSLhsl(95, 60%, 19%)
HSVhsv(95, 75%, 30%)
CMYKcmyk(44.2%, 0%, 75.3%, 69.8%)
CIE-LABlab(29.08, -23.82, 29.25)
CIE-LCHlch(29.08, 37.72, 129.16°)
OKLaboklab(38.06% -0.0664 0.0666)
OKLCHoklch(38.06% 0.094 134.9)
XYZxyz(3.7676, 5.8682, 1.5501)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D13 #35134D
analogous
#484D13 #2B4D13 #134D18
triadic
#2B4D13 #132B4D #4D132B
tetradic
#2B4D13 #13484D #35134D #4D1813
square
#2B4D13 #13484D #35134D #4D1813
split-complementary
#2B4D13 #18134D #4D1348
monochromatic
#0E1906 #101C07 #2B4D13 #467E1F #62AF2B

Accessibility & contrast

On white

9.66
#2B4D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B4D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D13
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D13#FFFFFF#000000##FFFFFF
##2B4D131.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460A
Deuteranopia (green-blind)
#4B4418
Tritanopia (blue-blind)
#2A4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4d13;
/* rgb */ color: rgb(43, 77, 19);
/* oklch */ color: oklch(38.1% 0.094 134.9);
Tailwind
colors: {
  custom: {
    50: '#687f54',
    500: '#2b4d13',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d13;
$custom-light: #687f54;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d13",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 95.172,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38059,
    "c": 0.09405,
    "h": 134.9
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#2B4D13
secondary
#653686
accent
#44E4A2
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4D13

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

Preview Lab → · Contrast checker → · Palette generator →

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