#2B4B18#2B4B18

#2B4B18 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.087 H 135.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2B4B18
RGBrgb(43, 75, 24)
HSLhsl(98, 52%, 19%)
HSVhsv(98, 68%, 29%)
CMYKcmyk(42.7%, 0%, 68%, 70.6%)
CIE-LABlab(28.41, -22.32, 26.06)
CIE-LCHlch(28.41, 34.31, 130.57°)
OKLaboklab(37.53% -0.0619 0.0606)
OKLCHoklch(37.53% 0.087 135.6)
XYZxyz(3.6771, 5.6115, 1.7534)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B18 #38184B
analogous
#454B18 #2B4B18 #184B1F
triadic
#2B4B18 #182B4B #4B182B
tetradic
#2B4B18 #18454B #38184B #4B1F18
square
#2B4B18 #18454B #38184B #4B1F18
split-complementary
#2B4B18 #1F184B #4B1845
monochromatic
#0D1707 #101D09 #2B4B18 #467927 #60A836

Accessibility & contrast

On white

9.89
#2B4B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B4B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B18
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B18#FFFFFF#000000##FFFFFF
##2B4B181.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4512
Deuteranopia (green-blind)
#49421C
Tritanopia (blue-blind)
#2A4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b4b18;
/* rgb */ color: rgb(43, 75, 24);
/* oklch */ color: oklch(37.5% 0.087 135.6);
Tailwind
colors: {
  custom: {
    50: '#677d57',
    500: '#2b4b18',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b18;
$custom-light: #677d57;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b18",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 97.647,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3753,
    "c": 0.0866,
    "h": 135.6
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#2B4B18
secondary
#683D82
accent
#4DDBA6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4B18

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

Preview Lab → · Contrast checker → · Palette generator →

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