#2B560C#2B560C

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

Color values

HEX#2B560C
RGBrgb(43, 86, 12)
HSLhsl(95, 76%, 19%)
HSVhsv(95, 86%, 34%)
CMYKcmyk(50%, 0%, 86%, 66.3%)
CIE-LABlab(32.25, -28.56, 35.18)
CIE-LCHlch(32.25, 45.32, 129.07°)
OKLaboklab(40.64% -0.0798 0.0779)
OKLCHoklch(40.64% 0.111 135.7)
XYZxyz(4.3903, 7.1954, 1.5053)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B560C #370C56
analogous
#50560C #2B560C #0C5612
triadic
#2B560C #0C2B56 #560C2B
tetradic
#2B560C #0C5056 #370C56 #56120C
square
#2B560C #0C5056 #370C56 #56120C
split-complementary
#2B560C #120C56 #560C50
monochromatic
#0D1B04 #102005 #2B560C #468C13 #61C11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B560C#FFFFFF#000000##FFFFFF
##2B560C1.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: #2b560c;
/* rgb */ color: rgb(43, 86, 12);
/* oklch */ color: oklch(40.6% 0.111 135.7);
Tailwind
colors: {
  custom: {
    50: '#698652',
    500: '#2b560c',
    950: '#000000',
  },
}
SCSS
$custom: #2b560c;
$custom-light: #698652;
$custom-dark: #000000;
JSON
{
  "hex": "#2b560c",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 12
  },
  "hsl": {
    "h": 94.865,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40643,
    "c": 0.11148,
    "h": 135.7
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#2B560C
secondary
#672D91
accent
#36F2A3
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2B560C

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

Preview Lab → · Contrast checker → · Palette generator →

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