#2C4810#2C4810

#2C4810 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.088 H 132.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2C4810
RGBrgb(44, 72, 16)
HSLhsl(90, 64%, 17%)
HSVhsv(90, 78%, 28%)
CMYKcmyk(38.9%, 0%, 77.8%, 71.8%)
CIE-LABlab(27.32, -21.17, 28.82)
CIE-LCHlch(27.32, 35.76, 126.30°)
OKLaboklab(36.63% -0.0596 0.0652)
OKLCHoklch(36.63% 0.088 132.4)
XYZxyz(3.4496, 5.2075, 1.3135)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4810 #2C1048
analogous
#484810 #2C4810 #104810
triadic
#2C4810 #102C48 #48102C
tetradic
#2C4810 #104848 #2C1048 #481010
square
#2C4810 #104848 #2C1048 #481010
split-complementary
#2C4810 #101048 #481048
monochromatic
#0F1906 #0F1906 #2C4810 #4B7A1B #69AC26

Accessibility & contrast

On white

10.29
#2C4810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4810
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4810#FFFFFF#000000##FFFFFF
##2C48101.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4207
Deuteranopia (green-blind)
#474015
Tritanopia (blue-blind)
#2D453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c4810;
/* rgb */ color: rgb(44, 72, 16);
/* oklch */ color: oklch(36.6% 0.088 132.4);
Tailwind
colors: {
  custom: {
    50: '#687b52',
    500: '#2c4810',
    950: '#000000',
  },
}
SCSS
$custom: #2c4810;
$custom-light: #687b52;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4810",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 90,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36629,
    "c": 0.0883,
    "h": 132.4
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#2C4810
secondary
#5A3282
accent
#41E794
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4810

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

Preview Lab → · Contrast checker → · Palette generator →

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