#2B4009#2B4009

#2B4009 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.082 H 128.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2B4009
RGBrgb(43, 64, 9)
HSLhsl(83, 75%, 14%)
HSVhsv(83, 86%, 25%)
CMYKcmyk(32.8%, 0%, 85.9%, 74.9%)
CIE-LABlab(24.32, -17.94, 28.81)
CIE-LCHlch(24.32, 33.94, 121.91°)
OKLaboklab(34.16% -0.0513 0.064)
OKLCHoklch(34.16% 0.082 128.8)
XYZxyz(2.8790, 4.2000, 0.9174)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4009 #1E0940
analogous
#403A09 #2B4009 #104009
triadic
#2B4009 #092B40 #40092B
tetradic
#2B4009 #09403A #1E0940 #400910
square
#2B4009 #09403A #1E0940 #400910
split-complementary
#2B4009 #091040 #3A0940
monochromatic
#121B04 #121B04 #2B4009 #4F7611 #73AB18

Accessibility & contrast

On white

11.41
#2B4009 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B4009 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4009
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4009#FFFFFF#000000##FFFFFF
##2B40091.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B01
Deuteranopia (green-blind)
#41390E
Tritanopia (blue-blind)
#2D3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b4009;
/* rgb */ color: rgb(43, 64, 9);
/* oklch */ color: oklch(34.2% 0.082 128.8);
Tailwind
colors: {
  custom: {
    50: '#67754d',
    500: '#2b4009',
    950: '#000000',
  },
}
SCSS
$custom: #2b4009;
$custom-light: #67754d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4009",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 9
  },
  "hsl": {
    "h": 82.909,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34155,
    "c": 0.08204,
    "h": 128.8
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#2B4009
secondary
#48277E
accent
#36F27E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B4009

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

Preview Lab → · Contrast checker → · Palette generator →

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