#2F570C#2F570C

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

Color values

HEX#2F570C
RGBrgb(47, 87, 12)
HSLhsl(92, 76%, 19%)
HSVhsv(92, 86%, 34%)
CMYKcmyk(46%, 0%, 86.2%, 65.9%)
CIE-LABlab(32.80, -27.53, 35.77)
CIE-LCHlch(32.80, 45.14, 127.58°)
OKLaboklab(41.15% -0.0773 0.079)
OKLCHoklch(41.15% 0.111 134.4)
XYZxyz(4.6468, 7.4470, 1.5403)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F570C #340C57
analogous
#55570C #2F570C #0C570E
triadic
#2F570C #0C2F57 #570C2F
tetradic
#2F570C #0C5557 #340C57 #570E0C
square
#2F570C #0C5557 #340C57 #570E0C
split-complementary
#2F570C #0E0C57 #570C55
monochromatic
#0F1B04 #122105 #2F570C #4C8D13 #69C31B

Accessibility & contrast

On white

8.44
#2F570C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F570C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F570C
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F570C#FFFFFF#000000##FFFFFF
##2F570C1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F00
Deuteranopia (green-blind)
#554C15
Tritanopia (blue-blind)
#2E5349
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f570c;
/* rgb */ color: rgb(47, 87, 12);
/* oklch */ color: oklch(41.2% 0.111 134.4);
Tailwind
colors: {
  custom: {
    50: '#6c8752',
    500: '#2f570c',
    950: '#000000',
  },
}
SCSS
$custom: #2f570c;
$custom-light: #6c8752;
$custom-dark: #000000;
JSON
{
  "hex": "#2f570c",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 12
  },
  "hsl": {
    "h": 92,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41154,
    "c": 0.11054,
    "h": 134.4
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#2F570C
secondary
#632D92
accent
#35F29A
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F570C

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

Preview Lab → · Contrast checker → · Palette generator →

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