#2B3B05#2B3B05

#2B3B05 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.7% C 0.078 H 125.5°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#2B3B05
RGBrgb(43, 59, 5)
HSLhsl(78, 84%, 13%)
HSVhsv(78, 92%, 23%)
CMYKcmyk(27.1%, 0%, 91.5%, 76.9%)
CIE-LABlab(22.49, -15.48, 28.58)
CIE-LCHlch(22.49, 32.51, 118.44°)
OKLaboklab(32.66% -0.0451 0.0633)
OKLCHoklch(32.66% 0.078 125.5)
XYZxyz(2.5876, 3.6524, 0.7122)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B05 #15053B
analogous
#3B3005 #2B3B05 #103B05
triadic
#2B3B05 #052B3B #3B052B
tetradic
#2B3B05 #053B30 #15053B #3B0510
square
#2B3B05 #053B30 #15053B #3B0510
split-complementary
#2B3B05 #05103B #30053B
monochromatic
#151C02 #151C02 #2B3B05 #54730A #7DAC0F

Accessibility & contrast

On white

12.14
#2B3B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B3B05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B05
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B05#FFFFFF#000000##FFFFFF
##2B3B051.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#2D3831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b3b05;
/* rgb */ color: rgb(43, 59, 5);
/* oklch */ color: oklch(32.7% 0.078 125.5);
Tailwind
colors: {
  custom: {
    50: '#67714a',
    500: '#2b3b05',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b05;
$custom-light: #67714a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b05",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 5
  },
  "hsl": {
    "h": 77.778,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32655,
    "c": 0.0777,
    "h": 125.5
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#2B3B05
secondary
#3B207C
accent
#2DFB6A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3B05

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

Preview Lab → · Contrast checker → · Palette generator →

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