#2E4710#2E4710

#2E4710 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.086 H 130.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2E4710
RGBrgb(46, 71, 16)
HSLhsl(87, 63%, 17%)
HSVhsv(87, 77%, 28%)
CMYKcmyk(35.2%, 0%, 77.5%, 72.2%)
CIE-LABlab(27.09, -19.80, 28.62)
CIE-LCHlch(27.09, 34.80, 124.67°)
OKLaboklab(36.48% -0.056 0.0647)
OKLCHoklch(36.48% 0.086 130.8)
XYZxyz(3.4734, 5.1246, 1.2963)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4710 #291047
analogous
#474510 #2E4710 #134710
triadic
#2E4710 #102E47 #47102E
tetradic
#2E4710 #104745 #291047 #471013
square
#2E4710 #104745 #291047 #471013
split-complementary
#2E4710 #101347 #451047
monochromatic
#101906 #101906 #2E4710 #4E791B #6FAB27

Accessibility & contrast

On white

10.37
#2E4710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E4710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4710
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4710#FFFFFF#000000##FFFFFF
##2E47101.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4108
Deuteranopia (green-blind)
#473F15
Tritanopia (blue-blind)
#2F443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e4710;
/* rgb */ color: rgb(46, 71, 16);
/* oklch */ color: oklch(36.5% 0.086 130.8);
Tailwind
colors: {
  custom: {
    50: '#697a52',
    500: '#2e4710',
    950: '#000000',
  },
}
SCSS
$custom: #2e4710;
$custom-light: #697a52;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4710",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 16
  },
  "hsl": {
    "h": 87.273,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36475,
    "c": 0.08557,
    "h": 130.8
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#2E4710
secondary
#563281
accent
#42E68C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E4710

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

Preview Lab → · Contrast checker → · Palette generator →

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