#2C4C0A#2C4C0A

#2C4C0A is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.098 H 132.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2C4C0A
RGBrgb(44, 76, 10)
HSLhsl(89, 77%, 17%)
HSVhsv(89, 87%, 30%)
CMYKcmyk(42.1%, 0%, 86.8%, 70.2%)
CIE-LABlab(28.71, -23.60, 32.60)
CIE-LCHlch(28.71, 40.24, 125.90°)
OKLaboklab(37.75% -0.0666 0.0721)
OKLCHoklch(37.75% 0.098 132.8)
XYZxyz(3.6779, 5.7261, 1.1986)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C0A #2A0A4C
analogous
#4C4B0A #2C4C0A #0B4C0A
triadic
#2C4C0A #0A2C4C #4C0A2C
tetradic
#2C4C0A #0A4C4B #2A0A4C #4C0A0B
square
#2C4C0A #0A4C4B #2A0A4C #4C0A0B
split-complementary
#2C4C0A #0A0B4C #4B0A4C
monochromatic
#101B04 #101B04 #2C4C0A #4B8211 #6BB818

Accessibility & contrast

On white

9.79
#2C4C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C4C0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4C0A
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4C0A#FFFFFF#000000##FFFFFF
##2C4C0A1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504500
Deuteranopia (green-blind)
#4B4311
Tritanopia (blue-blind)
#2C4940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c4c0a;
/* rgb */ color: rgb(44, 76, 10);
/* oklch */ color: oklch(37.8% 0.098 132.8);
Tailwind
colors: {
  custom: {
    50: '#697e50',
    500: '#2c4c0a',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c0a;
$custom-light: #697e50;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c0a",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 10
  },
  "hsl": {
    "h": 89.091,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.37754,
    "c": 0.09816,
    "h": 132.8
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#2C4C0A
secondary
#572989
accent
#35F391
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2C4C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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