#2E5314#2E5314

#2E5314 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.0% C 0.100 H 135.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2E5314
RGBrgb(46, 83, 20)
HSLhsl(95, 61%, 20%)
HSVhsv(95, 76%, 33%)
CMYKcmyk(44.6%, 0%, 75.9%, 67.5%)
CIE-LABlab(31.39, -25.46, 31.24)
CIE-LCHlch(31.39, 40.31, 129.18°)
OKLaboklab(40% -0.071 0.0709)
OKLCHoklch(40% 0.1 135.1)
XYZxyz(4.3461, 6.8176, 1.7486)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5314 #391453
analogous
#4D5314 #2E5314 #145319
triadic
#2E5314 #142E53 #53142E
tetradic
#2E5314 #144D53 #391453 #531914
square
#2E5314 #144D53 #391453 #531914
split-complementary
#2E5314 #191453 #53144D
monochromatic
#0E1906 #132208 #2E5314 #498420 #65B62C

Accessibility & contrast

On white

8.88
#2E5314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E5314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5314
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5314#FFFFFF#000000##FFFFFF
##2E53141.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0A
Deuteranopia (green-blind)
#51491A
Tritanopia (blue-blind)
#2D5046
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e5314;
/* rgb */ color: rgb(46, 83, 20);
/* oklch */ color: oklch(40.0% 0.100 135.1);
Tailwind
colors: {
  custom: {
    50: '#6a8356',
    500: '#2e5314',
    950: '#000000',
  },
}
SCSS
$custom: #2e5314;
$custom-light: #6a8356;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5314",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 95.238,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39997,
    "c": 0.10035,
    "h": 135.1
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#2E5314
secondary
#69388B
accent
#44E4A2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5314

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

Preview Lab → · Contrast checker → · Palette generator →

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