#2B4814#2B4814

#2B4814 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.086 H 133.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2B4814
RGBrgb(43, 72, 20)
HSLhsl(93, 57%, 18%)
HSVhsv(93, 72%, 28%)
CMYKcmyk(40.3%, 0%, 72.2%, 71.8%)
CIE-LABlab(27.29, -21.22, 26.87)
CIE-LCHlch(27.29, 34.24, 128.30°)
OKLaboklab(36.6% -0.0593 0.0617)
OKLCHoklch(36.6% 0.086 133.8)
XYZxyz(3.4398, 5.1987, 1.4839)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4814 #311448
analogous
#454814 #2B4814 #144817
triadic
#2B4814 #142B48 #48142B
tetradic
#2B4814 #144548 #311448 #481714
square
#2B4814 #144548 #311448 #481714
split-complementary
#2B4814 #171448 #481445
monochromatic
#0E1807 #0E1807 #2B4814 #487821 #64A82F

Accessibility & contrast

On white

10.30
#2B4814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B4814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4814
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4814#FFFFFF#000000##FFFFFF
##2B48141.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420D
Deuteranopia (green-blind)
#474018
Tritanopia (blue-blind)
#2B453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b4814;
/* rgb */ color: rgb(43, 72, 20);
/* oklch */ color: oklch(36.6% 0.086 133.8);
Tailwind
colors: {
  custom: {
    50: '#677b54',
    500: '#2b4814',
    950: '#000000',
  },
}
SCSS
$custom: #2b4814;
$custom-light: #677b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4814",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 20
  },
  "hsl": {
    "h": 93.462,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36605,
    "c": 0.08558,
    "h": 133.8
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#2B4814
secondary
#603880
accent
#48E09D
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4814

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

Preview Lab → · Contrast checker → · Palette generator →

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