#2C4A0A#2C4A0A

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

Color values

HEX#2C4A0A
RGBrgb(44, 74, 10)
HSLhsl(88, 76%, 16%)
HSVhsv(88, 86%, 29%)
CMYKcmyk(40.5%, 0%, 86.5%, 71%)
CIE-LABlab(27.99, -22.61, 31.93)
CIE-LCHlch(27.99, 39.12, 125.31°)
OKLaboklab(37.17% -0.064 0.0707)
OKLCHoklch(37.17% 0.095 132.2)
XYZxyz(3.5422, 5.4548, 1.1533)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A0A #280A4A
analogous
#4A480A #2C4A0A #0C4A0A
triadic
#2C4A0A #0A2C4A #4A0A2C
tetradic
#2C4A0A #0A4A48 #280A4A #4A0A0C
square
#2C4A0A #0A4A48 #280A4A #4A0A0C
split-complementary
#2C4A0A #0A0C4A #480A4A
monochromatic
#101B04 #101B04 #2C4A0A #4C8011 #6CB619

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4A0A#FFFFFF#000000##FFFFFF
##2C4A0A1.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)
#494111
Tritanopia (blue-blind)
#2D473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c4a0a;
/* rgb */ color: rgb(44, 74, 10);
/* oklch */ color: oklch(37.2% 0.095 132.2);
Tailwind
colors: {
  custom: {
    50: '#697c4f',
    500: '#2c4a0a',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a0a;
$custom-light: #697c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a0a",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 10
  },
  "hsl": {
    "h": 88.125,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37167,
    "c": 0.09532,
    "h": 132.2
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#2C4A0A
secondary
#552987
accent
#35F38E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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