#2E5010#2E5010

#2E5010 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.1% C 0.099 H 133.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2E5010
RGBrgb(46, 80, 16)
HSLhsl(92, 67%, 19%)
HSVhsv(92, 80%, 31%)
CMYKcmyk(42.5%, 0%, 80%, 68.6%)
CIE-LABlab(30.29, -24.34, 31.85)
CIE-LCHlch(30.29, 40.09, 127.38°)
OKLaboklab(39.09% -0.0683 0.0715)
OKLCHoklch(39.09% 0.099 133.7)
XYZxyz(4.0888, 6.3554, 1.5014)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5010 #321050
analogous
#4E5010 #2E5010 #105012
triadic
#2E5010 #102E50 #50102E
tetradic
#2E5010 #104E50 #321050 #501210
square
#2E5010 #104E50 #321050 #501210
split-complementary
#2E5010 #121050 #50104E
monochromatic
#0F1A05 #111D06 #2E5010 #4B831A #69B624

Accessibility & contrast

On white

9.25
#2E5010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E5010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5010
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5010#FFFFFF#000000##FFFFFF
##2E50101.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534905
Deuteranopia (green-blind)
#4F4616
Tritanopia (blue-blind)
#2E4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e5010;
/* rgb */ color: rgb(46, 80, 16);
/* oklch */ color: oklch(39.1% 0.099 133.7);
Tailwind
colors: {
  custom: {
    50: '#6a8153',
    500: '#2e5010',
    950: '#000000',
  },
}
SCSS
$custom: #2e5010;
$custom-light: #6a8153;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5010",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 91.875,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3909,
    "c": 0.09889,
    "h": 133.7
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#2E5010
secondary
#61328A
accent
#3EEA99
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5010

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

Preview Lab → · Contrast checker → · Palette generator →

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