#2B4C0A#2B4C0A

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

Color values

HEX#2B4C0A
RGBrgb(43, 76, 10)
HSLhsl(90, 77%, 17%)
HSVhsv(90, 87%, 30%)
CMYKcmyk(43.4%, 0%, 86.8%, 70.2%)
CIE-LABlab(28.65, -24.01, 32.52)
CIE-LCHlch(28.65, 40.42, 126.43°)
OKLaboklab(37.69% -0.0677 0.0719)
OKLCHoklch(37.69% 0.099 133.2)
XYZxyz(3.6354, 5.7042, 1.1966)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C0A #2B0A4C
analogous
#4C4C0A #2B4C0A #0A4C0A
triadic
#2B4C0A #0A2B4C #4C0A2B
tetradic
#2B4C0A #0A4C4C #2B0A4C #4C0A0A
square
#2B4C0A #0A4C4C #2B0A4C #4C0A0A
split-complementary
#2B4C0A #0A0A4C #4C0A4C
monochromatic
#0F1B04 #0F1B04 #2B4C0A #4A8211 #68B818

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4C0A#FFFFFF#000000##FFFFFF
##2B4C0A1.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)
#4B4311
Tritanopia (blue-blind)
#2B4940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b4c0a;
/* rgb */ color: rgb(43, 76, 10);
/* oklch */ color: oklch(37.7% 0.099 133.2);
Tailwind
colors: {
  custom: {
    50: '#687e50',
    500: '#2b4c0a',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c0a;
$custom-light: #687e50;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c0a",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 10
  },
  "hsl": {
    "h": 90,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.37692,
    "c": 0.09876,
    "h": 133.2
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#2B4C0A
secondary
#592989
accent
#35F394
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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