#2B4E0E#2B4E0E

#2B4E0E is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.099 H 134.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2B4E0E
RGBrgb(43, 78, 14)
HSLhsl(93, 70%, 18%)
HSVhsv(93, 82%, 31%)
CMYKcmyk(44.9%, 0%, 82.1%, 69.4%)
CIE-LABlab(29.40, -24.71, 31.73)
CIE-LCHlch(29.40, 40.22, 127.91°)
OKLaboklab(38.31% -0.0693 0.071)
OKLCHoklch(38.31% 0.099 134.3)
XYZxyz(3.7998, 5.9939, 1.3721)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E0E #310E4E
analogous
#4B4E0E #2B4E0E #0E4E11
triadic
#2B4E0E #0E2B4E #4E0E2B
tetradic
#2B4E0E #0E4B4E #310E4E #4E110E
square
#2B4E0E #0E4B4E #310E4E #4E110E
split-complementary
#2B4E0E #110E4E #4E0E4B
monochromatic
#0E1A05 #0E1A05 #2B4E0E #488217 #64B621

Accessibility & contrast

On white

9.55
#2B4E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B4E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E0E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E0E#FFFFFF#000000##FFFFFF
##2B4E0E1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514703
Deuteranopia (green-blind)
#4D4414
Tritanopia (blue-blind)
#2B4B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4e0e;
/* rgb */ color: rgb(43, 78, 14);
/* oklch */ color: oklch(38.3% 0.099 134.3);
Tailwind
colors: {
  custom: {
    50: '#688052',
    500: '#2b4e0e',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e0e;
$custom-light: #688052;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e0e",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 14
  },
  "hsl": {
    "h": 92.813,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38308,
    "c": 0.09916,
    "h": 134.3
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#2B4E0E
secondary
#602F89
accent
#3BEC9C
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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