#2B560E#2B560E

#2B560E is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.110 H 135.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2B560E
RGBrgb(43, 86, 14)
HSLhsl(96, 72%, 20%)
HSVhsv(96, 84%, 34%)
CMYKcmyk(50%, 0%, 83.7%, 66.3%)
CIE-LABlab(32.26, -28.44, 34.49)
CIE-LCHlch(32.26, 44.71, 129.50°)
OKLaboklab(40.66% -0.0793 0.0768)
OKLCHoklch(40.66% 0.11 135.9)
XYZxyz(4.4032, 7.2006, 1.5732)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B560E #390E56
analogous
#4F560E #2B560E #0E5615
triadic
#2B560E #0E2B56 #560E2B
tetradic
#2B560E #0E4F56 #390E56 #56150E
square
#2B560E #0E4F56 #390E56 #56150E
split-complementary
#2B560E #150E56 #560E4F
monochromatic
#0D1A04 #112105 #2B560E #458B17 #60BF1F

Accessibility & contrast

On white

8.61
#2B560E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2B560E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B560E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B560E#FFFFFF#000000##FFFFFF
##2B560E1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#295249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b560e;
/* rgb */ color: rgb(43, 86, 14);
/* oklch */ color: oklch(40.7% 0.110 135.9);
Tailwind
colors: {
  custom: {
    50: '#698653',
    500: '#2b560e',
    950: '#000000',
  },
}
SCSS
$custom: #2b560e;
$custom-light: #698653;
$custom-dark: #000000;
JSON
{
  "hex": "#2b560e",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 14
  },
  "hsl": {
    "h": 95.833,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40656,
    "c": 0.11036,
    "h": 135.9
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#2B560E
secondary
#693090
accent
#39EFA6
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B560E

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

Preview Lab → · Contrast checker → · Palette generator →

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