#2B4D16#2B4D16

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

Color values

HEX#2B4D16
RGBrgb(43, 77, 22)
HSLhsl(97, 56%, 19%)
HSVhsv(97, 71%, 30%)
CMYKcmyk(44.2%, 0%, 71.4%, 69.8%)
CIE-LABlab(29.11, -23.53, 27.84)
CIE-LCHlch(29.11, 36.45, 130.20°)
OKLaboklab(38.09% -0.0654 0.0641)
OKLCHoklch(38.09% 0.092 135.6)
XYZxyz(3.7949, 5.8791, 1.6937)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D16 #38164D
analogous
#474D16 #2B4D16 #164D1D
triadic
#2B4D16 #162B4D #4D162B
tetradic
#2B4D16 #16474D #38164D #4D1D16
square
#2B4D16 #16474D #38164D #4D1D16
split-complementary
#2B4D16 #1D164D #4D1647
monochromatic
#0D1807 #101D08 #2B4D16 #467D24 #60AC31

Accessibility & contrast

On white

9.65
#2B4D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B4D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D16
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D16#FFFFFF#000000##FFFFFF
##2B4D161.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460F
Deuteranopia (green-blind)
#4B441B
Tritanopia (blue-blind)
#2A4A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4d16;
/* rgb */ color: rgb(43, 77, 22);
/* oklch */ color: oklch(38.1% 0.092 135.6);
Tailwind
colors: {
  custom: {
    50: '#677f56',
    500: '#2b4d16',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d16;
$custom-light: #677f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d16",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 97.091,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38091,
    "c": 0.09153,
    "h": 135.6
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#2B4D16
secondary
#683A85
accent
#49DFA6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4D16

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

Preview Lab → · Contrast checker → · Palette generator →

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