#2E5319#2E5319

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

Color values

HEX#2E5319
RGBrgb(46, 83, 25)
HSLhsl(98, 54%, 21%)
HSVhsv(98, 70%, 33%)
CMYKcmyk(44.6%, 0%, 69.9%, 67.5%)
CIE-LABlab(31.43, -24.99, 28.95)
CIE-LCHlch(31.43, 38.24, 130.80°)
OKLaboklab(40.05% -0.0693 0.0668)
OKLCHoklch(40.05% 0.096 136.1)
XYZxyz(4.3953, 6.8373, 2.0076)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5319 #3E1953
analogous
#4B5319 #2E5319 #195321
triadic
#2E5319 #192E53 #53192E
tetradic
#2E5319 #194B53 #3E1953 #532119
square
#2E5319 #194B53 #3E1953 #532119
split-complementary
#2E5319 #211953 #53194B
monochromatic
#0D1807 #14240B #2E5319 #488227 #62B135

Accessibility & contrast

On white

8.87
#2E5319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2E5319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5319
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5319#FFFFFF#000000##FFFFFF
##2E53191.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C12
Deuteranopia (green-blind)
#51491E
Tritanopia (blue-blind)
#2D5047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e5319;
/* rgb */ color: rgb(46, 83, 25);
/* oklch */ color: oklch(40.0% 0.096 136.1);
Tailwind
colors: {
  custom: {
    50: '#6a8359',
    500: '#2e5319',
    950: '#000000',
  },
}
SCSS
$custom: #2e5319;
$custom-light: #6a8359;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5319",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 25
  },
  "hsl": {
    "h": 98.276,
    "s": 53.704,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40049,
    "c": 0.09624,
    "h": 136.1
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#2E5319
secondary
#6E3E89
accent
#4BDDA8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5319

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

Preview Lab → · Contrast checker → · Palette generator →

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