#2C4813#2C4813

#2C4813 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.7% C 0.086 H 133.0°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2C4813
RGBrgb(44, 72, 19)
HSLhsl(92, 58%, 18%)
HSVhsv(92, 74%, 28%)
CMYKcmyk(38.9%, 0%, 73.6%, 71.8%)
CIE-LABlab(27.34, -20.90, 27.44)
CIE-LCHlch(27.34, 34.49, 127.30°)
OKLaboklab(36.66% -0.0585 0.0628)
OKLCHoklch(36.66% 0.086 133)
XYZxyz(3.4736, 5.2171, 1.4399)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4813 #2F1348
analogous
#464813 #2C4813 #134814
triadic
#2C4813 #132C48 #48132C
tetradic
#2C4813 #134648 #2F1348 #481413
square
#2C4813 #134648 #2F1348 #481413
split-complementary
#2C4813 #141348 #481346
monochromatic
#0F1806 #0F1806 #2C4813 #4A7820 #67A92D

Accessibility & contrast

On white

10.28
#2C4813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2C4813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4813
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4813#FFFFFF#000000##FFFFFF
##2C48131.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420C
Deuteranopia (green-blind)
#474017
Tritanopia (blue-blind)
#2C453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c4813;
/* rgb */ color: rgb(44, 72, 19);
/* oklch */ color: oklch(36.7% 0.086 133.0);
Tailwind
colors: {
  custom: {
    50: '#687b54',
    500: '#2c4813',
    950: '#000000',
  },
}
SCSS
$custom: #2c4813;
$custom-light: #687b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4813",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 19
  },
  "hsl": {
    "h": 91.698,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36659,
    "c": 0.08584,
    "h": 133
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#2C4813
secondary
#5E3681
accent
#46E198
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4813

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

Preview Lab → · Contrast checker → · Palette generator →

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