#2B560B#2B560B

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

Color values

HEX#2B560B
RGBrgb(43, 86, 11)
HSLhsl(94, 77%, 19%)
HSVhsv(94, 87%, 34%)
CMYKcmyk(50%, 0%, 87.2%, 66.3%)
CIE-LABlab(32.24, -28.62, 35.51)
CIE-LCHlch(32.24, 45.61, 128.87°)
OKLaboklab(40.64% -0.08 0.0784)
OKLCHoklch(40.64% 0.112 135.6)
XYZxyz(4.3843, 7.1931, 1.4739)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B560B #360B56
analogous
#51560B #2B560B #0B5611
triadic
#2B560B #0B2B56 #560B2B
tetradic
#2B560B #0B5156 #360B56 #56110B
square
#2B560B #0B5156 #360B56 #56110B
split-complementary
#2B560B #110B56 #560B51
monochromatic
#0E1B03 #102004 #2B560B #468C12 #61C319

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2b560b;
/* rgb */ color: rgb(43, 86, 11);
/* oklch */ color: oklch(40.6% 0.112 135.6);
Tailwind
colors: {
  custom: {
    50: '#698652',
    500: '#2b560b',
    950: '#000000',
  },
}
SCSS
$custom: #2b560b;
$custom-light: #698652;
$custom-dark: #000000;
JSON
{
  "hex": "#2b560b",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 94.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40637,
    "c": 0.112,
    "h": 135.6
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#2B560B
secondary
#662B91
accent
#34F4A2
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2B560B

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

Preview Lab → · Contrast checker → · Palette generator →

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