#2B560F#2B560F

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

Color values

HEX#2B560F
RGBrgb(43, 86, 15)
HSLhsl(96, 70%, 20%)
HSVhsv(96, 83%, 34%)
CMYKcmyk(50%, 0%, 82.6%, 66.3%)
CIE-LABlab(32.27, -28.37, 34.13)
CIE-LCHlch(32.27, 44.38, 129.74°)
OKLaboklab(40.66% -0.079 0.0762)
OKLCHoklch(40.66% 0.11 136.1)
XYZxyz(4.4102, 7.2034, 1.6099)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B560F #3A0F56
analogous
#4F560F #2B560F #0F5617
triadic
#2B560F #0F2B56 #560F2B
tetradic
#2B560F #0F4F56 #3A0F56 #56170F
square
#2B560F #0F4F56 #3A0F56 #56170F
split-complementary
#2B560F #170F56 #560F4F
monochromatic
#0D1A05 #112206 #2B560F #458A18 #5FBE21

Accessibility & contrast

On white

8.60
#2B560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B560F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B560F#FFFFFF#000000##FFFFFF
##2B560F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b560f;
/* rgb */ color: rgb(43, 86, 15);
/* oklch */ color: oklch(40.7% 0.110 136.1);
Tailwind
colors: {
  custom: {
    50: '#698654',
    500: '#2b560f',
    950: '#000000',
  },
}
SCSS
$custom: #2b560f;
$custom-light: #698654;
$custom-dark: #000000;
JSON
{
  "hex": "#2b560f",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 96.338,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40663,
    "c": 0.10977,
    "h": 136.1
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#2B560F
secondary
#6A3190
accent
#3BEDA7
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B560F

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

Preview Lab → · Contrast checker → · Palette generator →

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