#2B4810#2B4810

#2B4810 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.089 H 133.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#2B4810
RGBrgb(43, 72, 16)
HSLhsl(91, 64%, 17%)
HSVhsv(91, 78%, 28%)
CMYKcmyk(40.3%, 0%, 77.8%, 71.8%)
CIE-LABlab(27.26, -21.59, 28.74)
CIE-LCHlch(27.26, 35.94, 126.92°)
OKLaboklab(36.56% -0.0606 0.065)
OKLCHoklch(36.56% 0.089 133)
XYZxyz(3.4071, 5.1856, 1.3115)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4810 #2D1048
analogous
#474810 #2B4810 #104811
triadic
#2B4810 #102B48 #48102B
tetradic
#2B4810 #104748 #2D1048 #481110
square
#2B4810 #104748 #2D1048 #481110
split-complementary
#2B4810 #111048 #481047
monochromatic
#0F1906 #0F1906 #2B4810 #497A1B #67AC26

Accessibility & contrast

On white

10.31
#2B4810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B4810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4810
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4810#FFFFFF#000000##FFFFFF
##2B48101.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4207
Deuteranopia (green-blind)
#474015
Tritanopia (blue-blind)
#2B453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b4810;
/* rgb */ color: rgb(43, 72, 16);
/* oklch */ color: oklch(36.6% 0.089 133.0);
Tailwind
colors: {
  custom: {
    50: '#677b52',
    500: '#2b4810',
    950: '#000000',
  },
}
SCSS
$custom: #2b4810;
$custom-light: #677b52;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4810",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 91.071,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36563,
    "c": 0.08892,
    "h": 133
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#2B4810
secondary
#5B3282
accent
#41E797
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4810

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

Preview Lab → · Contrast checker → · Palette generator →

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