#2B4C0F#2B4C0F

#2B4C0F is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.096 H 133.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2B4C0F
RGBrgb(43, 76, 15)
HSLhsl(92, 67%, 18%)
HSVhsv(92, 80%, 30%)
CMYKcmyk(43.4%, 0%, 80.3%, 70.2%)
CIE-LABlab(28.69, -23.66, 30.62)
CIE-LCHlch(28.69, 38.70, 127.70°)
OKLaboklab(37.73% -0.0663 0.0688)
OKLCHoklch(37.73% 0.096 133.9)
XYZxyz(3.6669, 5.7168, 1.3621)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C0F #300F4C
analogous
#494C0F #2B4C0F #0F4C11
triadic
#2B4C0F #0F2B4C #4C0F2B
tetradic
#2B4C0F #0F494C #300F4C #4C110F
square
#2B4C0F #0F494C #300F4C #4C110F
split-complementary
#2B4C0F #110F4C #4C0F49
monochromatic
#0E1A05 #0E1A05 #2B4C0F #487F19 #65B223

Accessibility & contrast

On white

9.80
#2B4C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B4C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C0F
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C0F#FFFFFF#000000##FFFFFF
##2B4C0F1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#2B4940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b4c0f;
/* rgb */ color: rgb(43, 76, 15);
/* oklch */ color: oklch(37.7% 0.096 133.9);
Tailwind
colors: {
  custom: {
    50: '#687e52',
    500: '#2b4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c0f;
$custom-light: #687e52;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c0f",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 92.459,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37729,
    "c": 0.09559,
    "h": 133.9
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#2B4C0F
secondary
#5F3186
accent
#3EEA9B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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