#2B4A16#2B4A16

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

Color values

HEX#2B4A16
RGBrgb(43, 74, 22)
HSLhsl(96, 54%, 19%)
HSVhsv(96, 70%, 29%)
CMYKcmyk(41.9%, 0%, 70.3%, 71%)
CIE-LABlab(28.03, -22.03, 26.67)
CIE-LCHlch(28.03, 34.59, 129.56°)
OKLaboklab(37.21% -0.0613 0.0616)
OKLCHoklch(37.21% 0.087 134.9)
XYZxyz(3.5898, 5.4689, 1.6254)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A16 #35164A
analogous
#454A16 #2B4A16 #164A1B
triadic
#2B4A16 #162B4A #4A162B
tetradic
#2B4A16 #16454A #35164A #4A1B16
square
#2B4A16 #16454A #35164A #4A1B16
split-complementary
#2B4A16 #1B164A #4A1645
monochromatic
#0E1807 #101B08 #2B4A16 #467924 #62A832

Accessibility & contrast

On white

10.03
#2B4A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B4A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A16
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A16#FFFFFF#000000##FFFFFF
##2B4A161.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4a16;
/* rgb */ color: rgb(43, 74, 22);
/* oklch */ color: oklch(37.2% 0.087 134.9);
Tailwind
colors: {
  custom: {
    50: '#677d56',
    500: '#2b4a16',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a16;
$custom-light: #677d56;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a16",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 22
  },
  "hsl": {
    "h": 95.769,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37213,
    "c": 0.0869,
    "h": 134.9
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#2B4A16
secondary
#653A82
accent
#4ADEA2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4A16

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

Preview Lab → · Contrast checker → · Palette generator →

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