#2B4A0E#2B4A0E

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

Color values

HEX#2B4A0E
RGBrgb(43, 74, 14)
HSLhsl(91, 68%, 17%)
HSVhsv(91, 81%, 29%)
CMYKcmyk(41.9%, 0%, 81.1%, 71%)
CIE-LABlab(27.96, -22.75, 30.32)
CIE-LCHlch(27.96, 37.91, 126.89°)
OKLaboklab(37.13% -0.064 0.068)
OKLCHoklch(37.13% 0.093 133.2)
XYZxyz(3.5243, 5.4427, 1.2802)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A0E #2D0E4A
analogous
#494A0E #2B4A0E #0E4A0F
triadic
#2B4A0E #0E2B4A #4A0E2B
tetradic
#2B4A0E #0E494A #2D0E4A #4A0F0E
square
#2B4A0E #0E494A #2D0E4A #4A0F0E
split-complementary
#2B4A0E #0F0E4A #4A0E49
monochromatic
#0F1A05 #0F1A05 #2B4A0E #497D18 #67B121

Accessibility & contrast

On white

10.05
#2B4A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4A0E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A0E#FFFFFF#000000##FFFFFF
##2B4A0E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4a0e;
/* rgb */ color: rgb(43, 74, 14);
/* oklch */ color: oklch(37.1% 0.093 133.2);
Tailwind
colors: {
  custom: {
    50: '#687d51',
    500: '#2b4a0e',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a0e;
$custom-light: #687d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a0e",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 91,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37133,
    "c": 0.09336,
    "h": 133.2
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#2B4A0E
secondary
#5B2F85
accent
#3DEB97
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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