#2B4C0B#2B4C0B

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

Color values

HEX#2B4C0B
RGBrgb(43, 76, 11)
HSLhsl(90, 75%, 17%)
HSVhsv(90, 86%, 30%)
CMYKcmyk(43.4%, 0%, 85.5%, 70.2%)
CIE-LABlab(28.66, -23.95, 32.17)
CIE-LCHlch(28.66, 40.10, 126.66°)
OKLaboklab(37.7% -0.0674 0.0714)
OKLCHoklch(37.7% 0.098 133.4)
XYZxyz(3.6410, 5.7065, 1.2262)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C0B #2C0B4C
analogous
#4C4C0B #2B4C0B #0B4C0C
triadic
#2B4C0B #0B2B4C #4C0B2B
tetradic
#2B4C0B #0B4C4C #2C0B4C #4C0C0B
square
#2B4C0B #0B4C4C #2C0B4C #4C0C0B
split-complementary
#2B4C0B #0C0B4C #4C0B4C
monochromatic
#0F1B04 #0F1B04 #2B4C0B #498113 #67B71A

Accessibility & contrast

On white

9.81
#2B4C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4C0B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C0B#FFFFFF#000000##FFFFFF
##2B4C0B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4c0b;
/* rgb */ color: rgb(43, 76, 11);
/* oklch */ color: oklch(37.7% 0.098 133.4);
Tailwind
colors: {
  custom: {
    50: '#687e50',
    500: '#2b4c0b',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c0b;
$custom-light: #687e50;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c0b",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 11
  },
  "hsl": {
    "h": 90.462,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37698,
    "c": 0.09818,
    "h": 133.4
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#2B4C0B
secondary
#5A2B88
accent
#36F195
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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