#2B4A0A#2B4A0A

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

Color values

HEX#2B4A0A
RGBrgb(43, 74, 10)
HSLhsl(89, 76%, 16%)
HSVhsv(89, 86%, 29%)
CMYKcmyk(41.9%, 0%, 86.5%, 71%)
CIE-LABlab(27.93, -23.03, 31.85)
CIE-LCHlch(27.93, 39.30, 125.87°)
OKLaboklab(37.1% -0.065 0.0705)
OKLCHoklch(37.1% 0.096 132.7)
XYZxyz(3.4998, 5.4329, 1.1514)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A0A #290A4A
analogous
#4A490A #2B4A0A #0B4A0A
triadic
#2B4A0A #0A2B4A #4A0A2B
tetradic
#2B4A0A #0A4A49 #290A4A #4A0A0B
square
#2B4A0A #0A4A49 #290A4A #4A0A0B
split-complementary
#2B4A0A #0A0B4A #490A4A
monochromatic
#101B04 #101B04 #2B4A0A #4A8011 #6AB619

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4A0A#FFFFFF#000000##FFFFFF
##2B4A0A1.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)
#4D4300
Deuteranopia (green-blind)
#494111
Tritanopia (blue-blind)
#2B473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b4a0a;
/* rgb */ color: rgb(43, 74, 10);
/* oklch */ color: oklch(37.1% 0.096 132.7);
Tailwind
colors: {
  custom: {
    50: '#687d4f',
    500: '#2b4a0a',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a0a;
$custom-light: #687d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a0a",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 10
  },
  "hsl": {
    "h": 89.063,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37103,
    "c": 0.09592,
    "h": 132.7
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#2B4A0A
secondary
#562987
accent
#35F391
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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