#2E4E07#2E4E07

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

Color values

HEX#2E4E07
RGBrgb(46, 78, 7)
HSLhsl(87, 84%, 17%)
HSVhsv(87, 91%, 31%)
CMYKcmyk(41%, 0%, 91%, 69.4%)
CIE-LABlab(29.53, -23.93, 34.45)
CIE-LCHlch(29.53, 41.94, 124.79°)
OKLaboklab(38.45% -0.0679 0.0753)
OKLCHoklch(38.45% 0.101 132)
XYZxyz(3.8894, 6.0448, 1.1628)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E07 #27074E
analogous
#4E4B07 #2E4E07 #0B4E07
triadic
#2E4E07 #072E4E #4E072E
tetradic
#2E4E07 #074E4B #27074E #4E070B
square
#2E4E07 #074E4B #27074E #4E070B
split-complementary
#2E4E07 #070B4E #4B074E
monochromatic
#111C03 #111C03 #2E4E07 #4F860C #70BE11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4E07#FFFFFF#000000##FFFFFF
##2E4E071.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)
#524700
Deuteranopia (green-blind)
#4D4510
Tritanopia (blue-blind)
#2F4A41
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e07;
/* rgb */ color: rgb(46, 78, 7);
/* oklch */ color: oklch(38.4% 0.101 132.0);
Tailwind
colors: {
  custom: {
    50: '#6b804f',
    500: '#2e4e07',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e07;
$custom-light: #6b804f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e07",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 87.042,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38446,
    "c": 0.10142,
    "h": 132
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#2E4E07
secondary
#53258C
accent
#2EFA8A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2E4E07

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

Preview Lab → · Contrast checker → · Palette generator →

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