#2B570C#2B570C

#2B570C is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 40.9% C 0.113 H 135.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2B570C
RGBrgb(43, 87, 12)
HSLhsl(95, 76%, 19%)
HSVhsv(95, 86%, 34%)
CMYKcmyk(50.6%, 0%, 86.2%, 65.9%)
CIE-LABlab(32.60, -29.01, 35.52)
CIE-LCHlch(32.60, 45.86, 129.25°)
OKLaboklab(40.94% -0.081 0.0786)
OKLCHoklch(40.94% 0.113 135.9)
XYZxyz(4.4707, 7.3562, 1.5321)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B570C #380C57
analogous
#51570C #2B570C #0C5713
triadic
#2B570C #0C2B57 #570C2B
tetradic
#2B570C #0C5157 #380C57 #57130C
square
#2B570C #0C5157 #380C57 #57130C
split-complementary
#2B570C #130C57 #570C51
monochromatic
#0D1B04 #102105 #2B570C #468D13 #60C31B

Accessibility & contrast

On white

8.50
#2B570C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2B570C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B570C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B570C#FFFFFF#000000##FFFFFF
##2B570C1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F00
Deuteranopia (green-blind)
#554B15
Tritanopia (blue-blind)
#295349
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b570c;
/* rgb */ color: rgb(43, 87, 12);
/* oklch */ color: oklch(40.9% 0.113 135.9);
Tailwind
colors: {
  custom: {
    50: '#6a8752',
    500: '#2b570c',
    950: '#000000',
  },
}
SCSS
$custom: #2b570c;
$custom-light: #6a8752;
$custom-dark: #000000;
JSON
{
  "hex": "#2b570c",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 12
  },
  "hsl": {
    "h": 95.2,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40936,
    "c": 0.11282,
    "h": 135.9
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#2B570C
secondary
#682D92
accent
#35F2A4
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2B570C

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

Preview Lab → · Contrast checker → · Palette generator →

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