#2C3A0B#2C3A0B

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

Color values

HEX#2C3A0B
RGBrgb(44, 58, 11)
HSLhsl(78, 68%, 14%)
HSVhsv(78, 81%, 23%)
CMYKcmyk(24.1%, 0%, 81%, 77.3%)
CIE-LABlab(22.25, -13.99, 25.91)
CIE-LCHlch(22.25, 29.44, 118.37°)
OKLaboklab(32.5% -0.0404 0.0583)
OKLCHoklch(32.5% 0.071 124.7)
XYZxyz(2.6122, 3.5857, 0.8710)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A0B #190B3A
analogous
#3A300B #2C3A0B #143A0B
triadic
#2C3A0B #0B2C3A #3A0B2C
tetradic
#2C3A0B #0B3A30 #190B3A #3A0B14
square
#2C3A0B #0B3A30 #190B3A #3A0B14
split-complementary
#2C3A0B #0B143A #300B3A
monochromatic
#141A05 #141A05 #2C3A0B #536D15 #7AA11F

Accessibility & contrast

On white

12.23
#2C3A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3A0B
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A0B#FFFFFF#000000##FFFFFF
##2C3A0B1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3605
Deuteranopia (green-blind)
#3C350F
Tritanopia (blue-blind)
#2E3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c3a0b;
/* rgb */ color: rgb(44, 58, 11);
/* oklch */ color: oklch(32.5% 0.071 124.7);
Tailwind
colors: {
  custom: {
    50: '#67704d',
    500: '#2c3a0b',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a0b;
$custom-light: #67704d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a0b",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 11
  },
  "hsl": {
    "h": 77.872,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32499,
    "c": 0.07095,
    "h": 124.7
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#2C3A0B
secondary
#412A77
accent
#3DEB71
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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