#2C3A06#2C3A06

#2C3A06 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.075 H 124.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#2C3A06
RGBrgb(44, 58, 6)
HSLhsl(76, 81%, 13%)
HSVhsv(76, 90%, 23%)
CMYKcmyk(24.1%, 0%, 89.7%, 77.3%)
CIE-LABlab(22.21, -14.35, 27.91)
CIE-LCHlch(22.21, 31.38, 117.21°)
OKLaboklab(32.46% -0.042 0.062)
OKLCHoklch(32.46% 0.075 124.1)
XYZxyz(2.5847, 3.5747, 0.7261)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A06 #14063A
analogous
#3A2E06 #2C3A06 #123A06
triadic
#2C3A06 #062C3A #3A062C
tetradic
#2C3A06 #063A2E #14063A #3A0612
square
#2C3A06 #063A2E #14063A #3A0612
split-complementary
#2C3A06 #06123A #2E063A
monochromatic
#151C03 #151C03 #2C3A06 #56710C #80A911

Accessibility & contrast

On white

12.24
#2C3A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2C3A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A06
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A06#FFFFFF#000000##FFFFFF
##2C3A061.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#2F3730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c3a06;
/* rgb */ color: rgb(44, 58, 6);
/* oklch */ color: oklch(32.5% 0.075 124.1);
Tailwind
colors: {
  custom: {
    50: '#67704b',
    500: '#2c3a06',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a06;
$custom-light: #67704b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a06",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 76.154,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32455,
    "c": 0.07489,
    "h": 124.1
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#2C3A06
secondary
#39227A
accent
#30F866
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3A06

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

Preview Lab → · Contrast checker → · Palette generator →

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