#2B3905#2B3905

#2B3905 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.1% C 0.075 H 124.2°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2B3905
RGBrgb(43, 57, 5)
HSLhsl(76, 84%, 12%)
HSVhsv(76, 91%, 22%)
CMYKcmyk(24.6%, 0%, 91.2%, 77.6%)
CIE-LABlab(21.77, -14.35, 27.82)
CIE-LCHlch(21.77, 31.30, 117.28°)
OKLaboklab(32.07% -0.042 0.0619)
OKLCHoklch(32.07% 0.075 124.2)
XYZxyz(2.4868, 3.4508, 0.6786)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3905 #130539
analogous
#392D05 #2B3905 #113905
triadic
#2B3905 #052B39 #39052B
tetradic
#2B3905 #05392D #130539 #390511
square
#2B3905 #05392D #130539 #390511
split-complementary
#2B3905 #051139 #2D0539
monochromatic
#151C02 #151C02 #2B3905 #55710A #80AA0F

Accessibility & contrast

On white

12.42
#2B3905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B3905 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3905
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3905#FFFFFF#000000##FFFFFF
##2B39051.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3B340A
Tritanopia (blue-blind)
#2E362F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b3905;
/* rgb */ color: rgb(43, 57, 5);
/* oklch */ color: oklch(32.1% 0.075 124.2);
Tailwind
colors: {
  custom: {
    50: '#666f4a',
    500: '#2b3905',
    950: '#000000',
  },
}
SCSS
$custom: #2b3905;
$custom-light: #666f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3905",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 5
  },
  "hsl": {
    "h": 76.154,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.3207,
    "c": 0.07483,
    "h": 124.2
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#2B3905
secondary
#38207A
accent
#2EFA65
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3905

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

Preview Lab → · Contrast checker → · Palette generator →

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