#2C3A0F#2C3A0F

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

Color values

HEX#2C3A0F
RGBrgb(44, 58, 15)
HSLhsl(80, 59%, 14%)
HSVhsv(80, 74%, 23%)
CMYKcmyk(24.1%, 0%, 74.1%, 77.3%)
CIE-LABlab(22.29, -13.65, 24.03)
CIE-LCHlch(22.29, 27.64, 119.60°)
OKLaboklab(32.54% -0.039 0.055)
OKLCHoklch(32.54% 0.067 125.4)
XYZxyz(2.6380, 3.5960, 1.0070)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A0F #1D0F3A
analogous
#3A330F #2C3A0F #173A0F
triadic
#2C3A0F #0F2C3A #3A0F2C
tetradic
#2C3A0F #0F3A33 #1D0F3A #3A0F17
square
#2C3A0F #0F3A33 #1D0F3A #3A0F17
split-complementary
#2C3A0F #0F173A #330F3A
monochromatic
#121806 #121806 #2C3A0F #516B1C #769B28

Accessibility & contrast

On white

12.21
#2C3A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3A0F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A0F#FFFFFF#000000##FFFFFF
##2C3A0F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3a0f;
/* rgb */ color: rgb(44, 58, 15);
/* oklch */ color: oklch(32.5% 0.067 125.4);
Tailwind
colors: {
  custom: {
    50: '#677050',
    500: '#2c3a0f',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a0f;
$custom-light: #677050;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a0f",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 15
  },
  "hsl": {
    "h": 79.535,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32541,
    "c": 0.06744,
    "h": 125.4
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#2C3A0F
secondary
#473074
accent
#46E279
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2C3A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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