#2C3D12#2C3D12

#2C3D12 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.4% C 0.069 H 128.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2C3D12
RGBrgb(44, 61, 18)
HSLhsl(84, 54%, 15%)
HSVhsv(84, 70%, 24%)
CMYKcmyk(27.9%, 0%, 70.5%, 76.1%)
CIE-LABlab(23.39, -15.07, 23.66)
CIE-LCHlch(23.39, 28.06, 122.50°)
OKLaboklab(33.45% -0.0426 0.0547)
OKLCHoklch(33.45% 0.069 128)
XYZxyz(2.8166, 3.9166, 1.1797)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D12 #23123D
analogous
#3D3812 #2C3D12 #163D12
triadic
#2C3D12 #122C3D #3D122C
tetradic
#2C3D12 #123D38 #23123D #3D1216
square
#2C3D12 #123D38 #23123D #3D1216
split-complementary
#2C3D12 #12163D #38123D
monochromatic
#111807 #111807 #2C3D12 #4E6C20 #709C2E

Accessibility & contrast

On white

11.78
#2C3D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C3D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D12
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D12#FFFFFF#000000##FFFFFF
##2C3D121.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380D
Deuteranopia (green-blind)
#3E3715
Tritanopia (blue-blind)
#2E3A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c3d12;
/* rgb */ color: rgb(44, 61, 18);
/* oklch */ color: oklch(33.4% 0.069 128.0);
Tailwind
colors: {
  custom: {
    50: '#677252',
    500: '#2c3d12',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d12;
$custom-light: #677252;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d12",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 83.721,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33445,
    "c": 0.06932,
    "h": 128
  },
  "luminance": 0.03917
}

Semantic roles & 50–950 ramp

primary
#2C3D12
secondary
#4F3576
accent
#4ADE84
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C3D12

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

Preview Lab → · Contrast checker → · Palette generator →

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