#2B4705#2B4705

#2B4705 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.095 H 131.1°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2B4705
RGBrgb(43, 71, 5)
HSLhsl(85, 87%, 15%)
HSVhsv(85, 93%, 28%)
CMYKcmyk(39.4%, 0%, 93%, 72.2%)
CIE-LABlab(26.82, -21.85, 32.77)
CIE-LCHlch(26.82, 39.39, 123.69°)
OKLaboklab(36.19% -0.0623 0.0714)
OKLCHoklch(36.19% 0.095 131.1)
XYZxyz(3.2769, 5.0309, 0.9420)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4705 #210547
analogous
#474205 #2B4705 #0A4705
triadic
#2B4705 #052B47 #47052B
tetradic
#2B4705 #054742 #210547 #47050A
square
#2B4705 #054742 #210547 #47050A
split-complementary
#2B4705 #050A47 #420547
monochromatic
#111D02 #111D02 #2B4705 #4E8009 #70B90D

Accessibility & contrast

On white

10.47
#2B4705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B4705 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4705
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4705#FFFFFF#000000##FFFFFF
##2B47051.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#473F0D
Tritanopia (blue-blind)
#2C443B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b4705;
/* rgb */ color: rgb(43, 71, 5);
/* oklch */ color: oklch(36.2% 0.095 131.1);
Tailwind
colors: {
  custom: {
    50: '#687a4c',
    500: '#2b4705',
    950: '#000000',
  },
}
SCSS
$custom: #2b4705;
$custom-light: #687a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4705",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 5
  },
  "hsl": {
    "h": 85.455,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36185,
    "c": 0.09474,
    "h": 131.1
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#2B4705
secondary
#4C2187
accent
#2BFD84
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2B4705

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

Preview Lab → · Contrast checker → · Palette generator →

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