#2E5214#2E5214

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

Color values

HEX#2E5214
RGBrgb(46, 82, 20)
HSLhsl(95, 61%, 20%)
HSVhsv(95, 76%, 32%)
CMYKcmyk(43.9%, 0%, 75.6%, 67.8%)
CIE-LABlab(31.03, -24.98, 30.88)
CIE-LCHlch(31.03, 39.72, 128.97°)
OKLaboklab(39.71% -0.0697 0.0701)
OKLCHoklch(39.71% 0.099 134.8)
XYZxyz(4.2702, 6.6657, 1.7233)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5214 #381452
analogous
#4D5214 #2E5214 #145219
triadic
#2E5214 #142E52 #52142E
tetradic
#2E5214 #144D52 #381452 #521914
square
#2E5214 #144D52 #381452 #521914
split-complementary
#2E5214 #191452 #52144D
monochromatic
#0E1906 #122108 #2E5214 #4A8320 #65B42C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5214#FFFFFF#000000##FFFFFF
##2E52141.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)
#554B0B
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#2D4F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e5214;
/* rgb */ color: rgb(46, 82, 20);
/* oklch */ color: oklch(39.7% 0.099 134.8);
Tailwind
colors: {
  custom: {
    50: '#6a8356',
    500: '#2e5214',
    950: '#000000',
  },
}
SCSS
$custom: #2e5214;
$custom-light: #6a8356;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5214",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 94.839,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.09888,
    "h": 134.8
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#2E5214
secondary
#68388A
accent
#44E4A1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5214

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

Preview Lab → · Contrast checker → · Palette generator →

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