#2E560E#2E560E

#2E560E is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.8% C 0.109 H 134.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2E560E
RGBrgb(46, 86, 14)
HSLhsl(93, 72%, 20%)
HSVhsv(93, 84%, 34%)
CMYKcmyk(46.5%, 0%, 83.7%, 66.3%)
CIE-LABlab(32.41, -27.33, 34.69)
CIE-LCHlch(32.41, 44.16, 128.23°)
OKLaboklab(40.82% -0.0765 0.0771)
OKLCHoklch(40.82% 0.109 134.8)
XYZxyz(4.5337, 7.2679, 1.5793)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E560E #360E56
analogous
#52560E #2E560E #0E5612
triadic
#2E560E #0E2E56 #560E2E
tetradic
#2E560E #0E5256 #360E56 #56120E
square
#2E560E #0E5256 #360E56 #56120E
split-complementary
#2E560E #120E56 #560E52
monochromatic
#0E1A04 #122105 #2E560E #4A8B17 #66BF1F

Accessibility & contrast

On white

8.56
#2E560E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2E560E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E560E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E560E#FFFFFF#000000##FFFFFF
##2E560E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E00
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#2D5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e560e;
/* rgb */ color: rgb(46, 86, 14);
/* oklch */ color: oklch(40.8% 0.109 134.8);
Tailwind
colors: {
  custom: {
    50: '#6b8653',
    500: '#2e560e',
    950: '#000000',
  },
}
SCSS
$custom: #2e560e;
$custom-light: #6b8653;
$custom-dark: #000000;
JSON
{
  "hex": "#2e560e",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 14
  },
  "hsl": {
    "h": 93.333,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.4082,
    "c": 0.10863,
    "h": 134.8
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#2E560E
secondary
#653090
accent
#39EF9E
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E560E

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

Preview Lab → · Contrast checker → · Palette generator →

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