#2D4E0E#2D4E0E

#2D4E0E is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.098 H 133.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2D4E0E
RGBrgb(45, 78, 14)
HSLhsl(91, 70%, 18%)
HSVhsv(91, 82%, 31%)
CMYKcmyk(42.3%, 0%, 82.1%, 69.4%)
CIE-LABlab(29.51, -23.91, 31.88)
CIE-LCHlch(29.51, 39.85, 126.87°)
OKLaboklab(38.43% -0.0672 0.0712)
OKLCHoklch(38.43% 0.098 133.3)
XYZxyz(3.8858, 6.0382, 1.3761)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E0E #2F0E4E
analogous
#4D4E0E #2D4E0E #0E4E0F
triadic
#2D4E0E #0E2D4E #4E0E2D
tetradic
#2D4E0E #0E4D4E #2F0E4E #4E0F0E
square
#2D4E0E #0E4D4E #2F0E4E #4E0F0E
split-complementary
#2D4E0E #0F0E4E #4E0E4D
monochromatic
#0F1A05 #0F1A05 #2D4E0E #4B8217 #69B621

Accessibility & contrast

On white

9.51
#2D4E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2D4E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E0E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E0E#FFFFFF#000000##FFFFFF
##2D4E0E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514703
Deuteranopia (green-blind)
#4D4514
Tritanopia (blue-blind)
#2D4B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4e0e;
/* rgb */ color: rgb(45, 78, 14);
/* oklch */ color: oklch(38.4% 0.098 133.3);
Tailwind
colors: {
  custom: {
    50: '#698052',
    500: '#2d4e0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e0e;
$custom-light: #698052;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e0e",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 14
  },
  "hsl": {
    "h": 90.938,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3843,
    "c": 0.09796,
    "h": 133.3
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#2D4E0E
secondary
#5D2F89
accent
#3BEC97
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2D4E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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