#2E4005#2E4005

#2E4005 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.083 H 126.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2E4005
RGBrgb(46, 64, 5)
HSLhsl(78, 86%, 14%)
HSVhsv(78, 92%, 25%)
CMYKcmyk(28.1%, 0%, 92.2%, 74.9%)
CIE-LABlab(24.51, -16.81, 30.70)
CIE-LCHlch(24.51, 35.00, 118.70°)
OKLaboklab(34.35% -0.0489 0.0672)
OKLCHoklch(34.35% 0.083 126)
XYZxyz(2.9875, 4.2585, 0.8081)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4005 #170540
analogous
#403405 #2E4005 #104005
triadic
#2E4005 #052E40 #40052E
tetradic
#2E4005 #054034 #170540 #400510
square
#2E4005 #054034 #170540 #400510
split-complementary
#2E4005 #051040 #340540
monochromatic
#141C02 #141C02 #2E4005 #577909 #80B20E

Accessibility & contrast

On white

11.34
#2E4005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E4005 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4005
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4005#FFFFFF#000000##FFFFFF
##2E40051.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#423A0B
Tritanopia (blue-blind)
#303C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e4005;
/* rgb */ color: rgb(46, 64, 5);
/* oklch */ color: oklch(34.4% 0.083 126.0);
Tailwind
colors: {
  custom: {
    50: '#69754b',
    500: '#2e4005',
    950: '#000000',
  },
}
SCSS
$custom: #2e4005;
$custom-light: #69754b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4005",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 5
  },
  "hsl": {
    "h": 78.305,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34353,
    "c": 0.08308,
    "h": 126
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#2E4005
secondary
#3E2081
accent
#2CFC6B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E4005

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

Preview Lab → · Contrast checker → · Palette generator →

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