#2B4A0D#2B4A0D

#2B4A0D is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.094 H 133.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2B4A0D
RGBrgb(43, 74, 13)
HSLhsl(90, 70%, 17%)
HSVhsv(90, 82%, 29%)
CMYKcmyk(41.9%, 0%, 82.4%, 71%)
CIE-LABlab(27.95, -22.83, 30.72)
CIE-LCHlch(27.95, 38.27, 126.62°)
OKLaboklab(37.13% -0.0642 0.0687)
OKLCHoklch(37.13% 0.094 133.1)
XYZxyz(3.5176, 5.4400, 1.2454)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A0D #2C0D4A
analogous
#4A4A0D #2B4A0D #0D4A0E
triadic
#2B4A0D #0D2B4A #4A0D2B
tetradic
#2B4A0D #0D4A4A #2C0D4A #4A0E0D
square
#2B4A0D #0D4A4A #2C0D4A #4A0E0D
split-complementary
#2B4A0D #0E0D4A #4A0D4A
monochromatic
#0F1A05 #0F1A05 #2B4A0D #497E16 #67B21F

Accessibility & contrast

On white

10.06
#2B4A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4A0D
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A0D#FFFFFF#000000##FFFFFF
##2B4A0D1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4403
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#2B473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b4a0d;
/* rgb */ color: rgb(43, 74, 13);
/* oklch */ color: oklch(37.1% 0.094 133.1);
Tailwind
colors: {
  custom: {
    50: '#687d51',
    500: '#2b4a0d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a0d;
$custom-light: #687d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a0d",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 90.492,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37125,
    "c": 0.09406,
    "h": 133.1
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#2B4A0D
secondary
#5A2E85
accent
#3BED95
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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