#2C4112#2C4112

#2C4112 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.6% C 0.076 H 130.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#2C4112
RGBrgb(44, 65, 18)
HSLhsl(87, 57%, 16%)
HSVhsv(87, 72%, 25%)
CMYKcmyk(32.3%, 0%, 72.3%, 74.5%)
CIE-LABlab(24.83, -17.29, 25.23)
CIE-LCHlch(24.83, 30.59, 124.43°)
OKLaboklab(34.61% -0.0488 0.058)
OKLCHoklch(34.61% 0.076 130.1)
XYZxyz(3.0382, 4.3597, 1.2536)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4112 #271241
analogous
#413F12 #2C4112 #154112
triadic
#2C4112 #122C41 #41122C
tetradic
#2C4112 #12413F #271241 #411215
square
#2C4112 #12413F #271241 #411215
split-complementary
#2C4112 #121541 #3F1241
monochromatic
#101807 #101807 #2C4112 #4C711F #6DA12D

Accessibility & contrast

On white

11.22
#2C4112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C4112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4112
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4112#FFFFFF#000000##FFFFFF
##2C41121.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0C
Deuteranopia (green-blind)
#413A16
Tritanopia (blue-blind)
#2D3E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c4112;
/* rgb */ color: rgb(44, 65, 18);
/* oklch */ color: oklch(34.6% 0.076 130.1);
Tailwind
colors: {
  custom: {
    50: '#677552',
    500: '#2c4112',
    950: '#000000',
  },
}
SCSS
$custom: #2c4112;
$custom-light: #677552;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4112",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 18
  },
  "hsl": {
    "h": 86.809,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34607,
    "c": 0.07576,
    "h": 130.1
  },
  "luminance": 0.0436
}

Semantic roles & 50–950 ramp

primary
#2C4112
secondary
#54357A
accent
#48E08C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C4112

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

Preview Lab → · Contrast checker → · Palette generator →

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