#2E5814#2E5814

#2E5814 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.4% C 0.108 H 136.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2E5814
RGBrgb(46, 88, 20)
HSLhsl(97, 63%, 21%)
HSVhsv(97, 77%, 35%)
CMYKcmyk(47.7%, 0%, 77.3%, 65.5%)
CIE-LABlab(33.16, -27.81, 33.06)
CIE-LCHlch(33.16, 43.20, 130.08°)
OKLaboklab(41.45% -0.0774 0.0747)
OKLCHoklch(41.45% 0.108 136)
XYZxyz(4.7426, 7.6105, 1.8808)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5814 #3E1458
analogous
#505814 #2E5814 #14581C
triadic
#2E5814 #142E58 #58142E
tetradic
#2E5814 #145058 #3E1458 #581C14
square
#2E5814 #145058 #3E1458 #581C14
split-complementary
#2E5814 #1C1458 #581450
monochromatic
#0D1906 #142609 #2E5814 #488A1F #62BC2B

Accessibility & contrast

On white

8.33
#2E5814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2E5814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5814
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5814#FFFFFF#000000##FFFFFF
##2E58141.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5008
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#2C544B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e5814;
/* rgb */ color: rgb(46, 88, 20);
/* oklch */ color: oklch(41.4% 0.108 136.0);
Tailwind
colors: {
  custom: {
    50: '#6b8756',
    500: '#2e5814',
    950: '#000000',
  },
}
SCSS
$custom: #2e5814;
$custom-light: #6b8756;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5814",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 97.059,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41447,
    "c": 0.10754,
    "h": 136
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#2E5814
secondary
#6E3890
accent
#42E6A7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5814

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

Preview Lab → · Contrast checker → · Palette generator →

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