#2E4107#2E4107

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

Color values

HEX#2E4107
RGBrgb(46, 65, 7)
HSLhsl(80, 81%, 14%)
HSVhsv(80, 89%, 25%)
CMYKcmyk(29.2%, 0%, 89.2%, 74.5%)
CIE-LABlab(24.88, -17.22, 30.24)
CIE-LCHlch(24.88, 34.80, 119.66°)
OKLaboklab(34.66% -0.0498 0.0665)
OKLCHoklch(34.66% 0.083 126.8)
XYZxyz(3.0554, 4.3767, 0.8848)
Luminance0.0438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4107 #1A0741
analogous
#413707 #2E4107 #114107
triadic
#2E4107 #072E41 #41072E
tetradic
#2E4107 #074137 #1A0741 #410711
square
#2E4107 #074137 #1A0741 #410711
split-complementary
#2E4107 #071141 #370741
monochromatic
#141C03 #141C03 #2E4107 #55780D #7CB013

Accessibility & contrast

On white

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

On black

1.88
#2E4107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E4107#FFFFFF#000000##FFFFFF
##2E41071.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4107;
/* rgb */ color: rgb(46, 65, 7);
/* oklch */ color: oklch(34.7% 0.083 126.8);
Tailwind
colors: {
  custom: {
    50: '#69754c',
    500: '#2e4107',
    950: '#000000',
  },
}
SCSS
$custom: #2e4107;
$custom-light: #69754c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4107",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 79.655,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34659,
    "c": 0.08309,
    "h": 126.8
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#2E4107
secondary
#422480
accent
#31F772
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E4107

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

Preview Lab → · Contrast checker → · Palette generator →

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