#2B3C06#2B3C06

#2B3C06 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.0% C 0.078 H 126.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#2B3C06
RGBrgb(43, 60, 6)
HSLhsl(79, 82%, 13%)
HSVhsv(79, 90%, 24%)
CMYKcmyk(28.3%, 0%, 90%, 76.5%)
CIE-LABlab(22.86, -15.96, 28.56)
CIE-LCHlch(22.86, 32.72, 119.21°)
OKLaboklab(32.96% -0.0463 0.0632)
OKLCHoklch(32.96% 0.078 126.2)
XYZxyz(2.6450, 3.7584, 0.7584)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C06 #17063C
analogous
#3C3206 #2B3C06 #103C06
triadic
#2B3C06 #062B3C #3C062B
tetradic
#2B3C06 #063C32 #17063C #3C0610
square
#2B3C06 #063C32 #17063C #3C0610
split-complementary
#2B3C06 #06103C #32063C
monochromatic
#141C03 #141C03 #2B3C06 #53740C #7BAB11

Accessibility & contrast

On white

11.99
#2B3C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B3C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C06
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C06#FFFFFF#000000##FFFFFF
##2B3C061.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#3D360B
Tritanopia (blue-blind)
#2D3932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3c06;
/* rgb */ color: rgb(43, 60, 6);
/* oklch */ color: oklch(33.0% 0.078 126.2);
Tailwind
colors: {
  custom: {
    50: '#67714b',
    500: '#2b3c06',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c06;
$custom-light: #67714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c06",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 78.889,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32957,
    "c": 0.07837,
    "h": 126.2
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#2B3C06
secondary
#3E227C
accent
#30F86F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3C06

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

Preview Lab → · Contrast checker → · Palette generator →

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