#2C4105#2C4105

#2C4105 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.086 H 128.0°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2C4105
RGBrgb(44, 65, 5)
HSLhsl(81, 86%, 14%)
HSVhsv(81, 92%, 25%)
CMYKcmyk(32.3%, 0%, 92.3%, 74.5%)
CIE-LABlab(24.72, -18.29, 30.86)
CIE-LCHlch(24.72, 35.87, 120.66°)
OKLaboklab(34.49% -0.0528 0.0675)
OKLCHoklch(34.49% 0.086 128)
XYZxyz(2.9564, 4.3270, 0.8230)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4105 #1A0541
analogous
#413805 #2C4105 #0E4105
triadic
#2C4105 #052C41 #41052C
tetradic
#2C4105 #054138 #1A0541 #41050E
square
#2C4105 #054138 #1A0541 #41050E
split-complementary
#2C4105 #050E41 #380541
monochromatic
#131C02 #131C02 #2C4105 #527A09 #79B30E

Accessibility & contrast

On white

11.26
#2C4105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4105
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4105#FFFFFF#000000##FFFFFF
##2C41051.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#423A0B
Tritanopia (blue-blind)
#2E3E36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c4105;
/* rgb */ color: rgb(44, 65, 5);
/* oklch */ color: oklch(34.5% 0.086 128.0);
Tailwind
colors: {
  custom: {
    50: '#68754b',
    500: '#2c4105',
    950: '#000000',
  },
}
SCSS
$custom: #2c4105;
$custom-light: #68754b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4105",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 5
  },
  "hsl": {
    "h": 81,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34491,
    "c": 0.0857,
    "h": 128
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#2C4105
secondary
#422081
accent
#2CFC75
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C4105

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

Preview Lab → · Contrast checker → · Palette generator →

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