#2B3B06#2B3B06

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

Color values

HEX#2B3B06
RGBrgb(43, 59, 6)
HSLhsl(78, 82%, 13%)
HSVhsv(78, 90%, 23%)
CMYKcmyk(27.1%, 0%, 89.8%, 76.9%)
CIE-LABlab(22.50, -15.41, 28.18)
CIE-LCHlch(22.50, 32.12, 118.66°)
OKLaboklab(32.66% -0.0448 0.0625)
OKLCHoklch(32.66% 0.077 125.6)
XYZxyz(2.5931, 3.6546, 0.7411)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B06 #16063B
analogous
#3B3006 #2B3B06 #113B06
triadic
#2B3B06 #062B3B #3B062B
tetradic
#2B3B06 #063B30 #16063B #3B0611
square
#2B3B06 #063B30 #16063B #3B0611
split-complementary
#2B3B06 #06113B #30063B
monochromatic
#141C03 #141C03 #2B3B06 #53730C #7CAA11

Accessibility & contrast

On white

12.13
#2B3B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3B06
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B06#FFFFFF#000000##FFFFFF
##2B3B061.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3b06;
/* rgb */ color: rgb(43, 59, 6);
/* oklch */ color: oklch(32.7% 0.077 125.6);
Tailwind
colors: {
  custom: {
    50: '#66714b',
    500: '#2b3b06',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b06;
$custom-light: #66714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b06",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 78.113,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32664,
    "c": 0.07691,
    "h": 125.6
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#2B3B06
secondary
#3D227B
accent
#30F86C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3B06

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

Preview Lab → · Contrast checker → · Palette generator →

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