#2E560F#2E560F

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

Color values

HEX#2E560F
RGBrgb(46, 86, 15)
HSLhsl(94, 70%, 20%)
HSVhsv(94, 83%, 34%)
CMYKcmyk(46.5%, 0%, 82.6%, 66.3%)
CIE-LABlab(32.42, -27.26, 34.32)
CIE-LCHlch(32.42, 43.83, 128.46°)
OKLaboklab(40.83% -0.0763 0.0765)
OKLCHoklch(40.83% 0.108 134.9)
XYZxyz(4.5406, 7.2707, 1.6160)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E560F #370F56
analogous
#52560F #2E560F #0F5614
triadic
#2E560F #0F2E56 #560F2E
tetradic
#2E560F #0F5256 #370F56 #56140F
square
#2E560F #0F5256 #370F56 #56140F
split-complementary
#2E560F #140F56 #560F52
monochromatic
#0E1A05 #122206 #2E560F #4A8A18 #66BE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E560F#FFFFFF#000000##FFFFFF
##2E560F1.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)
#5A4E01
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#2D5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e560f;
/* rgb */ color: rgb(46, 86, 15);
/* oklch */ color: oklch(40.8% 0.108 134.9);
Tailwind
colors: {
  custom: {
    50: '#6b8654',
    500: '#2e560f',
    950: '#000000',
  },
}
SCSS
$custom: #2e560f;
$custom-light: #6b8654;
$custom-dark: #000000;
JSON
{
  "hex": "#2e560f",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 93.803,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40827,
    "c": 0.10804,
    "h": 134.9
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#2E560F
secondary
#663190
accent
#3BED9F
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E560F

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

Preview Lab → · Contrast checker → · Palette generator →

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