#2C4A10#2C4A10

#2C4A10 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.091 H 133.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2C4A10
RGBrgb(44, 74, 16)
HSLhsl(91, 64%, 18%)
HSVhsv(91, 78%, 29%)
CMYKcmyk(40.5%, 0%, 78.4%, 71%)
CIE-LABlab(28.03, -22.18, 29.55)
CIE-LCHlch(28.03, 36.95, 126.90°)
OKLaboklab(37.21% -0.0623 0.0667)
OKLCHoklch(37.21% 0.091 133)
XYZxyz(3.5810, 5.4703, 1.3573)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A10 #2E104A
analogous
#494A10 #2C4A10 #104A11
triadic
#2C4A10 #102C4A #4A102C
tetradic
#2C4A10 #10494A #2E104A #4A1110
square
#2C4A10 #10494A #2E104A #4A1110
split-complementary
#2C4A10 #11104A #4A1049
monochromatic
#0F1905 #0F1905 #2C4A10 #4A7C1B #68AF26

Accessibility & contrast

On white

10.03
#2C4A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C4A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4A10
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4A10#FFFFFF#000000##FFFFFF
##2C4A101.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4407
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#2C473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c4a10;
/* rgb */ color: rgb(44, 74, 16);
/* oklch */ color: oklch(37.2% 0.091 133.0);
Tailwind
colors: {
  custom: {
    50: '#687d52',
    500: '#2c4a10',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a10;
$custom-light: #687d52;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a10",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 91.034,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37214,
    "c": 0.09131,
    "h": 133
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#2C4A10
secondary
#5C3284
accent
#40E797
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4A10

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

Preview Lab → · Contrast checker → · Palette generator →

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