#2B4605#2B4605

#2B4605 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.093 H 130.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2B4605
RGBrgb(43, 70, 5)
HSLhsl(85, 87%, 15%)
HSVhsv(85, 93%, 27%)
CMYKcmyk(38.6%, 0%, 92.9%, 72.5%)
CIE-LABlab(26.46, -21.34, 32.45)
CIE-LCHlch(26.46, 38.84, 123.33°)
OKLaboklab(35.89% -0.0609 0.0707)
OKLCHoklch(35.89% 0.093 130.7)
XYZxyz(3.2138, 4.9047, 0.9209)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4605 #200546
analogous
#464105 #2B4605 #0B4605
triadic
#2B4605 #052B46 #46052B
tetradic
#2B4605 #054641 #200546 #46050B
square
#2B4605 #054641 #200546 #46050B
split-complementary
#2B4605 #050B46 #410546
monochromatic
#121D02 #121D02 #2B4605 #4E7F09 #71B80D

Accessibility & contrast

On white

10.60
#2B4605 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B4605 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4605
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4605#FFFFFF#000000##FFFFFF
##2B46051.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#463E0C
Tritanopia (blue-blind)
#2C433A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b4605;
/* rgb */ color: rgb(43, 70, 5);
/* oklch */ color: oklch(35.9% 0.093 130.7);
Tailwind
colors: {
  custom: {
    50: '#68794c',
    500: '#2b4605',
    950: '#000000',
  },
}
SCSS
$custom: #2b4605;
$custom-light: #68794c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4605",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 5
  },
  "hsl": {
    "h": 84.923,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.3589,
    "c": 0.09335,
    "h": 130.7
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#2B4605
secondary
#4B2186
accent
#2BFD82
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2B4605

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

Preview Lab → · Contrast checker → · Palette generator →

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