#2B4D0D#2B4D0D

#2B4D0D is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.0% C 0.098 H 133.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2B4D0D
RGBrgb(43, 77, 13)
HSLhsl(92, 71%, 18%)
HSVhsv(92, 83%, 30%)
CMYKcmyk(44.2%, 0%, 83.1%, 69.8%)
CIE-LABlab(29.03, -24.30, 31.77)
CIE-LCHlch(29.03, 40.00, 127.41°)
OKLaboklab(38.01% -0.0682 0.0709)
OKLCHoklch(38.01% 0.098 133.9)
XYZxyz(3.7227, 5.8502, 1.3137)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D0D #2F0D4D
analogous
#4B4D0D #2B4D0D #0D4D0F
triadic
#2B4D0D #0D2B4D #4D0D2B
tetradic
#2B4D0D #0D4B4D #2F0D4D #4D0F0D
square
#2B4D0D #0D4B4D #2F0D4D #4D0F0D
split-complementary
#2B4D0D #0F0D4D #4D0D4B
monochromatic
#0F1A04 #0F1A04 #2B4D0D #488116 #65B61F

Accessibility & contrast

On white

9.68
#2B4D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B4D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D0D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D0D#FFFFFF#000000##FFFFFF
##2B4D0D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504602
Deuteranopia (green-blind)
#4C4314
Tritanopia (blue-blind)
#2B4A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b4d0d;
/* rgb */ color: rgb(43, 77, 13);
/* oklch */ color: oklch(38.0% 0.098 133.9);
Tailwind
colors: {
  custom: {
    50: '#687f51',
    500: '#2b4d0d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d0d;
$custom-light: #687f51;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d0d",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 91.875,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38007,
    "c": 0.09838,
    "h": 133.9
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#2B4D0D
secondary
#5E2E88
accent
#3AEE9A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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