#2B4D0E#2B4D0E

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

Color values

HEX#2B4D0E
RGBrgb(43, 77, 14)
HSLhsl(92, 69%, 18%)
HSVhsv(92, 82%, 30%)
CMYKcmyk(44.2%, 0%, 81.8%, 69.8%)
CIE-LABlab(29.04, -24.23, 31.38)
CIE-LCHlch(29.04, 39.64, 127.67°)
OKLaboklab(38.01% -0.0679 0.0702)
OKLCHoklch(38.01% 0.098 134.1)
XYZxyz(3.7293, 5.8529, 1.3486)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D0E #300E4D
analogous
#4A4D0E #2B4D0E #0E4D10
triadic
#2B4D0E #0E2B4D #4D0E2B
tetradic
#2B4D0E #0E4A4D #300E4D #4D100E
square
#2B4D0E #0E4A4D #300E4D #4D100E
split-complementary
#2B4D0E #100E4D #4D0E4A
monochromatic
#0E1A05 #0E1A05 #2B4D0E #488117 #65B521

Accessibility & contrast

On white

9.67
#2B4D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4D0E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D0E#FFFFFF#000000##FFFFFF
##2B4D0E1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4d0e;
/* rgb */ color: rgb(43, 77, 14);
/* oklch */ color: oklch(38.0% 0.098 134.1);
Tailwind
colors: {
  custom: {
    50: '#687f52',
    500: '#2b4d0e',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d0e;
$custom-light: #687f52;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d0e",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 14
  },
  "hsl": {
    "h": 92.381,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38014,
    "c": 0.09773,
    "h": 134.1
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#2B4D0E
secondary
#5F2F88
accent
#3CEC9B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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