#2E4105#2E4105

#2E4105 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.6% C 0.084 H 126.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2E4105
RGBrgb(46, 65, 5)
HSLhsl(79, 86%, 14%)
HSVhsv(79, 92%, 25%)
CMYKcmyk(29.2%, 0%, 92.3%, 74.5%)
CIE-LABlab(24.87, -17.36, 31.04)
CIE-LCHlch(24.87, 35.56, 119.21°)
OKLaboklab(34.64% -0.0504 0.0678)
OKLCHoklch(34.64% 0.084 126.6)
XYZxyz(3.0444, 4.3723, 0.8271)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4105 #180541
analogous
#413605 #2E4105 #104105
triadic
#2E4105 #052E41 #41052E
tetradic
#2E4105 #054136 #180541 #410510
square
#2E4105 #054136 #180541 #410510
split-complementary
#2E4105 #051041 #360541
monochromatic
#141C02 #141C02 #2E4105 #567A09 #7EB30E

Accessibility & contrast

On white

11.20
#2E4105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E4105 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4105
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4105#FFFFFF#000000##FFFFFF
##2E41051.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#423B0B
Tritanopia (blue-blind)
#303D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e4105;
/* rgb */ color: rgb(46, 65, 5);
/* oklch */ color: oklch(34.6% 0.084 126.6);
Tailwind
colors: {
  custom: {
    50: '#69754b',
    500: '#2e4105',
    950: '#000000',
  },
}
SCSS
$custom: #2e4105;
$custom-light: #69754b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4105",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 5
  },
  "hsl": {
    "h": 79,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34644,
    "c": 0.08449,
    "h": 126.6
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#2E4105
secondary
#3F2081
accent
#2CFC6E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E4105

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

Preview Lab → · Contrast checker → · Palette generator →

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