#2C3E12#2C3E12

#2C3E12 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.071 H 128.5°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2C3E12
RGBrgb(44, 62, 18)
HSLhsl(85, 55%, 16%)
HSVhsv(85, 71%, 24%)
CMYKcmyk(29%, 0%, 71%, 75.7%)
CIE-LABlab(23.75, -15.64, 24.06)
CIE-LCHlch(23.75, 28.69, 123.02°)
OKLaboklab(33.74% -0.0442 0.0555)
OKLCHoklch(33.74% 0.071 128.5)
XYZxyz(2.8705, 4.0243, 1.1977)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E12 #24123E
analogous
#3E3A12 #2C3E12 #163E12
triadic
#2C3E12 #122C3E #3E122C
tetradic
#2C3E12 #123E3A #24123E #3E1216
square
#2C3E12 #123E3A #24123E #3E1216
split-complementary
#2C3E12 #12163E #3A123E
monochromatic
#111807 #111807 #2C3E12 #4E6D20 #6F9D2E

Accessibility & contrast

On white

11.64
#2C3E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2C3E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E12
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E12#FFFFFF#000000##FFFFFF
##2C3E121.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3F3815
Tritanopia (blue-blind)
#2E3B35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c3e12;
/* rgb */ color: rgb(44, 62, 18);
/* oklch */ color: oklch(33.7% 0.071 128.5);
Tailwind
colors: {
  custom: {
    50: '#677352',
    500: '#2c3e12',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e12;
$custom-light: #677352;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e12",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 84.545,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33735,
    "c": 0.07095,
    "h": 128.5
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#2C3E12
secondary
#503577
accent
#49DE86
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C3E12

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

Preview Lab → · Contrast checker → · Palette generator →

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