#2B4914#2B4914

#2B4914 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.087 H 134.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2B4914
RGBrgb(43, 73, 20)
HSLhsl(94, 57%, 18%)
HSVhsv(94, 73%, 29%)
CMYKcmyk(41.1%, 0%, 72.6%, 71.4%)
CIE-LABlab(27.65, -21.73, 27.26)
CIE-LCHlch(27.65, 34.86, 128.56°)
OKLaboklab(36.9% -0.0606 0.0626)
OKLCHoklch(36.9% 0.087 134.1)
XYZxyz(3.5050, 5.3290, 1.5056)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4914 #321449
analogous
#454914 #2B4914 #144917
triadic
#2B4914 #142B49 #49142B
tetradic
#2B4914 #144549 #321449 #491714
square
#2B4914 #144549 #321449 #491714
split-complementary
#2B4914 #171449 #491445
monochromatic
#0E1807 #0F1907 #2B4914 #477921 #64A92E

Accessibility & contrast

On white

10.17
#2B4914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2B4914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4914
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4914#FFFFFF#000000##FFFFFF
##2B49141.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430D
Deuteranopia (green-blind)
#484018
Tritanopia (blue-blind)
#2B463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b4914;
/* rgb */ color: rgb(43, 73, 20);
/* oklch */ color: oklch(36.9% 0.087 134.1);
Tailwind
colors: {
  custom: {
    50: '#677c54',
    500: '#2b4914',
    950: '#000000',
  },
}
SCSS
$custom: #2b4914;
$custom-light: #677c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4914",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 20
  },
  "hsl": {
    "h": 93.962,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36897,
    "c": 0.08713,
    "h": 134.1
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#2B4914
secondary
#613881
accent
#48E09E
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4914

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

Preview Lab → · Contrast checker → · Palette generator →

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