#2B4813#2B4813

#2B4813 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.086 H 133.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2B4813
RGBrgb(43, 72, 19)
HSLhsl(93, 58%, 18%)
HSVhsv(93, 74%, 28%)
CMYKcmyk(40.3%, 0%, 73.6%, 71.8%)
CIE-LABlab(27.28, -21.32, 27.35)
CIE-LCHlch(27.28, 34.68, 127.94°)
OKLaboklab(36.59% -0.0596 0.0626)
OKLCHoklch(36.59% 0.086 133.6)
XYZxyz(3.4311, 5.1952, 1.4380)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4813 #301348
analogous
#454813 #2B4813 #134815
triadic
#2B4813 #132B48 #48132B
tetradic
#2B4813 #134548 #301348 #481513
square
#2B4813 #134548 #301348 #481513
split-complementary
#2B4813 #151348 #481345
monochromatic
#0E1806 #0E1806 #2B4813 #487820 #65A92D

Accessibility & contrast

On white

10.30
#2B4813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B4813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4813
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4813#FFFFFF#000000##FFFFFF
##2B48131.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420C
Deuteranopia (green-blind)
#474017
Tritanopia (blue-blind)
#2B453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b4813;
/* rgb */ color: rgb(43, 72, 19);
/* oklch */ color: oklch(36.6% 0.086 133.6);
Tailwind
colors: {
  custom: {
    50: '#677b54',
    500: '#2b4813',
    950: '#000000',
  },
}
SCSS
$custom: #2b4813;
$custom-light: #677b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4813",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 19
  },
  "hsl": {
    "h": 92.83,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36594,
    "c": 0.08646,
    "h": 133.6
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#2B4813
secondary
#5F3681
accent
#46E19B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4813

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

Preview Lab → · Contrast checker → · Palette generator →

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