#2B4A18#2B4A18

#2B4A18 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.085 H 135.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2B4A18
RGBrgb(43, 74, 24)
HSLhsl(97, 51%, 19%)
HSVhsv(97, 68%, 29%)
CMYKcmyk(41.9%, 0%, 67.6%, 71%)
CIE-LABlab(28.05, -21.81, 25.66)
CIE-LCHlch(28.05, 33.68, 130.36°)
OKLaboklab(37.24% -0.0605 0.0597)
OKLCHoklch(37.24% 0.085 135.4)
XYZxyz(3.6098, 5.4769, 1.7309)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A18 #37184A
analogous
#444A18 #2B4A18 #184A1E
triadic
#2B4A18 #182B4A #4A182B
tetradic
#2B4A18 #18444A #37184A #4A1E18
square
#2B4A18 #18444A #37184A #4A1E18
split-complementary
#2B4A18 #1E184A #4A1844
monochromatic
#0D1707 #101C09 #2B4A18 #467827 #61A636

Accessibility & contrast

On white

10.02
#2B4A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B4A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A18
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A18#FFFFFF#000000##FFFFFF
##2B4A181.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4412
Deuteranopia (green-blind)
#49411C
Tritanopia (blue-blind)
#2A473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b4a18;
/* rgb */ color: rgb(43, 74, 24);
/* oklch */ color: oklch(37.2% 0.085 135.4);
Tailwind
colors: {
  custom: {
    50: '#677d57',
    500: '#2b4a18',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a18;
$custom-light: #677d57;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a18",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 97.2,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37238,
    "c": 0.08502,
    "h": 135.4
  },
  "luminance": 0.05477
}

Semantic roles & 50–950 ramp

primary
#2B4A18
secondary
#673D81
accent
#4DDAA5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4A18

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

Preview Lab → · Contrast checker → · Palette generator →

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