#2C4C0E#2C4C0E

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

Color values

HEX#2C4C0E
RGBrgb(44, 76, 14)
HSLhsl(91, 69%, 18%)
HSVhsv(91, 82%, 30%)
CMYKcmyk(42.1%, 0%, 81.6%, 70.2%)
CIE-LABlab(28.74, -23.34, 31.10)
CIE-LCHlch(28.74, 38.88, 126.88°)
OKLaboklab(37.78% -0.0656 0.0696)
OKLCHoklch(37.78% 0.096 133.3)
XYZxyz(3.7024, 5.7359, 1.3274)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C0E #2E0E4C
analogous
#4B4C0E #2C4C0E #0E4C0F
triadic
#2C4C0E #0E2C4C #4C0E2C
tetradic
#2C4C0E #0E4B4C #2E0E4C #4C0F0E
square
#2C4C0E #0E4B4C #2E0E4C #4C0F0E
split-complementary
#2C4C0E #0F0E4C #4C0E4B
monochromatic
#0F1A05 #0F1A05 #2C4C0E #4A8018 #68B321

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4C0E#FFFFFF#000000##FFFFFF
##2C4C0E1.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)
#4F4503
Deuteranopia (green-blind)
#4B4314
Tritanopia (blue-blind)
#2C4940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c4c0e;
/* rgb */ color: rgb(44, 76, 14);
/* oklch */ color: oklch(37.8% 0.096 133.3);
Tailwind
colors: {
  custom: {
    50: '#697e51',
    500: '#2c4c0e',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c0e;
$custom-light: #697e51;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c0e",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 90.968,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37783,
    "c": 0.09568,
    "h": 133.3
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#2C4C0E
secondary
#5C2F87
accent
#3CEC97
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2C4C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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