#2C4C0D#2C4C0D

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

Color values

HEX#2C4C0D
RGBrgb(44, 76, 13)
HSLhsl(90, 71%, 17%)
HSVhsv(90, 83%, 30%)
CMYKcmyk(42.1%, 0%, 82.9%, 70.2%)
CIE-LABlab(28.73, -23.41, 31.49)
CIE-LCHlch(28.73, 39.24, 126.62°)
OKLaboklab(37.78% -0.0659 0.0703)
OKLCHoklch(37.78% 0.096 133.1)
XYZxyz(3.6957, 5.7332, 1.2926)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C0D #2D0D4C
analogous
#4C4C0D #2C4C0D #0D4C0D
triadic
#2C4C0D #0D2C4C #4C0D2C
tetradic
#2C4C0D #0D4C4C #2D0D4C #4C0D0D
square
#2C4C0D #0D4C4C #2D0D4C #4C0D0D
split-complementary
#2C4C0D #0D0D4C #4C0D4C
monochromatic
#0F1A04 #0F1A04 #2C4C0D #4A8016 #69B51F

Accessibility & contrast

On white

9.78
#2C4C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4C0D
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4C0D#FFFFFF#000000##FFFFFF
##2C4C0D1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4c0d;
/* rgb */ color: rgb(44, 76, 13);
/* oklch */ color: oklch(37.8% 0.096 133.1);
Tailwind
colors: {
  custom: {
    50: '#697e51',
    500: '#2c4c0d',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c0d;
$custom-light: #697e51;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c0d",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 90.476,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37775,
    "c": 0.09634,
    "h": 133.1
  },
  "luminance": 0.05733
}

Semantic roles & 50–950 ramp

primary
#2C4C0D
secondary
#5B2E87
accent
#3AEE95
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2C4C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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