#2B4B16#2B4B16

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

Color values

HEX#2B4B16
RGBrgb(43, 75, 22)
HSLhsl(96, 55%, 19%)
HSVhsv(96, 71%, 29%)
CMYKcmyk(42.7%, 0%, 70.7%, 70.6%)
CIE-LABlab(28.39, -22.53, 27.06)
CIE-LCHlch(28.39, 35.22, 129.78°)
OKLaboklab(37.51% -0.0627 0.0624)
OKLCHoklch(37.51% 0.088 135.1)
XYZxyz(3.6571, 5.6035, 1.6478)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B16 #36164B
analogous
#464B16 #2B4B16 #164B1C
triadic
#2B4B16 #162B4B #4B162B
tetradic
#2B4B16 #16464B #36164B #4B1C16
square
#2B4B16 #16464B #36164B #4B1C16
split-complementary
#2B4B16 #1C164B #4B1646
monochromatic
#0E1807 #101C08 #2B4B16 #467A24 #61AA32

Accessibility & contrast

On white

9.90
#2B4B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4B16
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B16#FFFFFF#000000##FFFFFF
##2B4B161.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450F
Deuteranopia (green-blind)
#4A421A
Tritanopia (blue-blind)
#2A4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b4b16;
/* rgb */ color: rgb(43, 75, 22);
/* oklch */ color: oklch(37.5% 0.088 135.1);
Tailwind
colors: {
  custom: {
    50: '#677d56',
    500: '#2b4b16',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b16;
$custom-light: #677d56;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b16",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 22
  },
  "hsl": {
    "h": 96.226,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37506,
    "c": 0.08845,
    "h": 135.1
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#2B4B16
secondary
#663A83
accent
#4ADEA3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4B16

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

Preview Lab → · Contrast checker → · Palette generator →

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