#2C4A0E#2C4A0E

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

Color values

HEX#2C4A0E
RGBrgb(44, 74, 14)
HSLhsl(90, 68%, 17%)
HSVhsv(90, 81%, 29%)
CMYKcmyk(40.5%, 0%, 81.1%, 71%)
CIE-LABlab(28.02, -22.34, 30.39)
CIE-LCHlch(28.02, 37.72, 126.32°)
OKLaboklab(37.2% -0.0629 0.0682)
OKLCHoklch(37.2% 0.093 132.7)
XYZxyz(3.5667, 5.4646, 1.2822)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A0E #2C0E4A
analogous
#4A4A0E #2C4A0E #0E4A0E
triadic
#2C4A0E #0E2C4A #4A0E2C
tetradic
#2C4A0E #0E4A4A #2C0E4A #4A0E0E
square
#2C4A0E #0E4A4A #2C0E4A #4A0E0E
split-complementary
#2C4A0E #0E0E4A #4A0E4A
monochromatic
#0F1A05 #0F1A05 #2C4A0E #4B7D18 #69B121

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4A0E#FFFFFF#000000##FFFFFF
##2C4A0E1.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)
#4D4404
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#2C473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c4a0e;
/* rgb */ color: rgb(44, 74, 14);
/* oklch */ color: oklch(37.2% 0.093 132.7);
Tailwind
colors: {
  custom: {
    50: '#687d51',
    500: '#2c4a0e',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a0e;
$custom-light: #687d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a0e",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 90,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37197,
    "c": 0.09276,
    "h": 132.7
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#2C4A0E
secondary
#5A2F85
accent
#3DEB94
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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