#2E560B#2E560B

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

Color values

HEX#2E560B
RGBrgb(46, 86, 11)
HSLhsl(92, 77%, 19%)
HSVhsv(92, 87%, 34%)
CMYKcmyk(46.5%, 0%, 87.2%, 66.3%)
CIE-LABlab(32.39, -27.51, 35.70)
CIE-LCHlch(32.39, 45.07, 127.61°)
OKLaboklab(40.8% -0.0772 0.0787)
OKLCHoklch(40.8% 0.11 134.4)
XYZxyz(4.5148, 7.2603, 1.4800)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E560B #330B56
analogous
#54560B #2E560B #0B560E
triadic
#2E560B #0B2E56 #560B2E
tetradic
#2E560B #0B5456 #330B56 #560E0B
square
#2E560B #0B5456 #330B56 #560E0B
split-complementary
#2E560B #0E0B56 #560B54
monochromatic
#0F1B03 #112004 #2E560B #4B8C12 #68C319

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E560B#FFFFFF#000000##FFFFFF
##2E560B1.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)
#544B14
Tritanopia (blue-blind)
#2D5248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e560b;
/* rgb */ color: rgb(46, 86, 11);
/* oklch */ color: oklch(40.8% 0.110 134.4);
Tailwind
colors: {
  custom: {
    50: '#6b8652',
    500: '#2e560b',
    950: '#000000',
  },
}
SCSS
$custom: #2e560b;
$custom-light: #6b8652;
$custom-dark: #000000;
JSON
{
  "hex": "#2e560b",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 92,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40801,
    "c": 0.11027,
    "h": 134.4
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#2E560B
secondary
#622B91
accent
#34F49A
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2E560B

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

Preview Lab → · Contrast checker → · Palette generator →

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