#2C4104#2C4104

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

Color values

HEX#2C4104
RGBrgb(44, 65, 4)
HSLhsl(81, 88%, 14%)
HSVhsv(81, 94%, 25%)
CMYKcmyk(32.3%, 0%, 93.8%, 74.5%)
CIE-LABlab(24.72, -18.36, 31.26)
CIE-LCHlch(24.72, 36.25, 120.43°)
OKLaboklab(34.48% -0.053 0.0682)
OKLCHoklch(34.48% 0.086 127.9)
XYZxyz(2.9509, 4.3248, 0.7941)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4104 #190441
analogous
#413704 #2C4104 #0D4104
triadic
#2C4104 #042C41 #41042C
tetradic
#2C4104 #044137 #190441 #41040D
square
#2C4104 #044137 #190441 #41040D
split-complementary
#2C4104 #040D41 #370441
monochromatic
#141D02 #141D02 #2C4104 #537B08 #7AB40B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4104#FFFFFF#000000##FFFFFF
##2C41041.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)
#423A0A
Tritanopia (blue-blind)
#2E3D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c4104;
/* rgb */ color: rgb(44, 65, 4);
/* oklch */ color: oklch(34.5% 0.086 127.9);
Tailwind
colors: {
  custom: {
    50: '#68754b',
    500: '#2c4104',
    950: '#000000',
  },
}
SCSS
$custom: #2c4104;
$custom-light: #68754b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4104",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 80.656,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34483,
    "c": 0.08641,
    "h": 127.9
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#2C4104
secondary
#411F82
accent
#29FF73
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C4104

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

Preview Lab → · Contrast checker → · Palette generator →

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