#2B570F#2B570F

#2B570F is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.0% C 0.111 H 136.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2B570F
RGBrgb(43, 87, 15)
HSLhsl(97, 71%, 20%)
HSVhsv(97, 83%, 34%)
CMYKcmyk(50.6%, 0%, 82.8%, 65.9%)
CIE-LABlab(32.62, -28.82, 34.47)
CIE-LCHlch(32.62, 44.93, 129.90°)
OKLaboklab(40.96% -0.0803 0.0769)
OKLCHoklch(40.96% 0.111 136.2)
XYZxyz(4.4906, 7.3642, 1.6367)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B570F #3B0F57
analogous
#4F570F #2B570F #0F5717
triadic
#2B570F #0F2B57 #570F2B
tetradic
#2B570F #0F4F57 #3B0F57 #57170F
square
#2B570F #0F4F57 #3B0F57 #57170F
split-complementary
#2B570F #170F57 #570F4F
monochromatic
#0D1A05 #112306 #2B570F #458B18 #5FBF21

Accessibility & contrast

On white

8.49
#2B570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B570F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B570F#FFFFFF#000000##FFFFFF
##2B570F1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b570f;
/* rgb */ color: rgb(43, 87, 15);
/* oklch */ color: oklch(41.0% 0.111 136.2);
Tailwind
colors: {
  custom: {
    50: '#698754',
    500: '#2b570f',
    950: '#000000',
  },
}
SCSS
$custom: #2b570f;
$custom-light: #698754;
$custom-dark: #000000;
JSON
{
  "hex": "#2b570f",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 96.667,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40956,
    "c": 0.11114,
    "h": 136.2
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

primary
#2B570F
secondary
#6C3191
accent
#3AEDA8
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B570F

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

Preview Lab → · Contrast checker → · Palette generator →

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