#2C4A0B#2C4A0B

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

Color values

HEX#2C4A0B
RGBrgb(44, 74, 11)
HSLhsl(89, 74%, 17%)
HSVhsv(89, 85%, 29%)
CMYKcmyk(40.5%, 0%, 85.1%, 71%)
CIE-LABlab(28.00, -22.55, 31.56)
CIE-LCHlch(28.00, 38.79, 125.54°)
OKLaboklab(37.17% -0.0637 0.0701)
OKLCHoklch(37.17% 0.095 132.3)
XYZxyz(3.5478, 5.4570, 1.1829)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A0B #290B4A
analogous
#4A490B #2C4A0B #0D4A0B
triadic
#2C4A0B #0B2C4A #4A0B2C
tetradic
#2C4A0B #0B4A49 #290B4A #4A0B0D
square
#2C4A0B #0B4A49 #290B4A #4A0B0D
split-complementary
#2C4A0B #0B0D4A #490B4A
monochromatic
#101B04 #101B04 #2C4A0B #4C7F13 #6BB51B

Accessibility & contrast

On white

10.04
#2C4A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4A0B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4A0B#FFFFFF#000000##FFFFFF
##2C4A0B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#494112
Tritanopia (blue-blind)
#2D473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c4a0b;
/* rgb */ color: rgb(44, 74, 11);
/* oklch */ color: oklch(37.2% 0.095 132.3);
Tailwind
colors: {
  custom: {
    50: '#687c50',
    500: '#2c4a0b',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a0b;
$custom-light: #687c50;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a0b",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 88.571,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37174,
    "c": 0.09472,
    "h": 132.3
  },
  "luminance": 0.05457
}

Semantic roles & 50–950 ramp

primary
#2C4A0B
secondary
#562B86
accent
#37F18F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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