#2E5213#2E5213

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

Color values

HEX#2E5213
RGBrgb(46, 82, 19)
HSLhsl(94, 62%, 20%)
HSVhsv(94, 77%, 32%)
CMYKcmyk(43.9%, 0%, 76.8%, 67.8%)
CIE-LABlab(31.03, -25.07, 31.31)
CIE-LCHlch(31.03, 40.11, 128.68°)
OKLaboklab(39.7% -0.07 0.0709)
OKLCHoklch(39.7% 0.1 134.7)
XYZxyz(4.2615, 6.6622, 1.6774)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5213 #371352
analogous
#4D5213 #2E5213 #135218
triadic
#2E5213 #132E52 #52132E
tetradic
#2E5213 #134D52 #371352 #521813
square
#2E5213 #134D52 #371352 #521813
split-complementary
#2E5213 #181352 #52134D
monochromatic
#0E1906 #122007 #2E5213 #4A841F #66B52A

Accessibility & contrast

On white

9.00
#2E5213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5213
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5213#FFFFFF#000000##FFFFFF
##2E52131.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B09
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#2D4F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e5213;
/* rgb */ color: rgb(46, 82, 19);
/* oklch */ color: oklch(39.7% 0.100 134.7);
Tailwind
colors: {
  custom: {
    50: '#6a8355',
    500: '#2e5213',
    950: '#000000',
  },
}
SCSS
$custom: #2e5213;
$custom-light: #6a8355;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5213",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 94.286,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39697,
    "c": 0.09964,
    "h": 134.7
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#2E5213
secondary
#66368A
accent
#42E5A0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5213

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

Preview Lab → · Contrast checker → · Palette generator →

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