#2E5210#2E5210

#2E5210 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.7% C 0.102 H 134.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2E5210
RGBrgb(46, 82, 16)
HSLhsl(93, 67%, 19%)
HSVhsv(93, 80%, 32%)
CMYKcmyk(43.9%, 0%, 80.5%, 67.8%)
CIE-LABlab(31.00, -25.30, 32.56)
CIE-LCHlch(31.00, 41.23, 127.85°)
OKLaboklab(39.67% -0.0709 0.073)
OKLCHoklch(39.67% 0.102 134.2)
XYZxyz(4.2375, 6.6526, 1.5509)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5210 #341052
analogous
#4F5210 #2E5210 #105213
triadic
#2E5210 #102E52 #52102E
tetradic
#2E5210 #104F52 #341052 #521310
square
#2E5210 #104F52 #341052 #521310
split-complementary
#2E5210 #131052 #52104F
monochromatic
#0E1A05 #111F06 #2E5210 #4B851A #67B824

Accessibility & contrast

On white

9.01
#2E5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E5210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5210
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5210#FFFFFF#000000##FFFFFF
##2E52101.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B04
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#2E4E45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e5210;
/* rgb */ color: rgb(46, 82, 16);
/* oklch */ color: oklch(39.7% 0.102 134.2);
Tailwind
colors: {
  custom: {
    50: '#6b8353',
    500: '#2e5210',
    950: '#000000',
  },
}
SCSS
$custom: #2e5210;
$custom-light: #6b8353;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5210",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 92.727,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39672,
    "c": 0.10177,
    "h": 134.2
  },
  "luminance": 0.06653
}

Semantic roles & 50–950 ramp

primary
#2E5210
secondary
#63328C
accent
#3EEA9C
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5210

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

Preview Lab → · Contrast checker → · Palette generator →

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