#2B560D#2B560D

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

Color values

HEX#2B560D
RGBrgb(43, 86, 13)
HSLhsl(95, 74%, 19%)
HSVhsv(95, 85%, 34%)
CMYKcmyk(50%, 0%, 84.9%, 66.3%)
CIE-LABlab(32.25, -28.50, 34.84)
CIE-LCHlch(32.25, 45.02, 129.28°)
OKLaboklab(40.65% -0.0795 0.0773)
OKLCHoklch(40.65% 0.111 135.8)
XYZxyz(4.3966, 7.1979, 1.5384)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B560D #380D56
analogous
#50560D #2B560D #0D5613
triadic
#2B560D #0D2B56 #560D2B
tetradic
#2B560D #0D5056 #380D56 #56130D
square
#2B560D #0D5056 #380D56 #56130D
split-complementary
#2B560D #130D56 #560D50
monochromatic
#0D1B04 #102105 #2B560D #468B15 #60C01D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B560D#FFFFFF#000000##FFFFFF
##2B560D1.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)
#544B15
Tritanopia (blue-blind)
#295248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b560d;
/* rgb */ color: rgb(43, 86, 13);
/* oklch */ color: oklch(40.6% 0.111 135.8);
Tailwind
colors: {
  custom: {
    50: '#698653',
    500: '#2b560d',
    950: '#000000',
  },
}
SCSS
$custom: #2b560d;
$custom-light: #698653;
$custom-dark: #000000;
JSON
{
  "hex": "#2b560d",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 13
  },
  "hsl": {
    "h": 95.342,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40649,
    "c": 0.11093,
    "h": 135.8
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#2B560D
secondary
#682E91
accent
#37F0A4
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B560D

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

Preview Lab → · Contrast checker → · Palette generator →

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