#2E5514#2E5514

#2E5514 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.103 H 135.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2E5514
RGBrgb(46, 85, 20)
HSLhsl(96, 62%, 21%)
HSVhsv(96, 76%, 33%)
CMYKcmyk(45.9%, 0%, 76.5%, 66.7%)
CIE-LABlab(32.10, -26.41, 31.97)
CIE-LCHlch(32.10, 41.47, 129.56°)
OKLaboklab(40.58% -0.0736 0.0724)
OKLCHoklch(40.58% 0.103 135.5)
XYZxyz(4.5014, 7.1281, 1.8004)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5514 #3B1455
analogous
#4E5514 #2E5514 #14551A
triadic
#2E5514 #142E55 #55142E
tetradic
#2E5514 #144E55 #3B1455 #551A14
square
#2E5514 #144E55 #3B1455 #551A14
split-complementary
#2E5514 #1A1455 #55144E
monochromatic
#0D1906 #132308 #2E5514 #498720 #64B82B

Accessibility & contrast

On white

8.66
#2E5514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2E5514 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5514
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5514#FFFFFF#000000##FFFFFF
##2E55141.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E09
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#2D5248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e5514;
/* rgb */ color: rgb(46, 85, 20);
/* oklch */ color: oklch(40.6% 0.103 135.5);
Tailwind
colors: {
  custom: {
    50: '#6b8556',
    500: '#2e5514',
    950: '#000000',
  },
}
SCSS
$custom: #2e5514;
$custom-light: #6b8556;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5514",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 20
  },
  "hsl": {
    "h": 96,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40577,
    "c": 0.10325,
    "h": 135.5
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#2E5514
secondary
#6B388D
accent
#43E5A4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5514

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

Preview Lab → · Contrast checker → · Palette generator →

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