#2E570C#2E570C

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

Color values

HEX#2E570C
RGBrgb(46, 87, 12)
HSLhsl(93, 76%, 19%)
HSVhsv(93, 86%, 34%)
CMYKcmyk(47.1%, 0%, 86.2%, 65.9%)
CIE-LABlab(32.75, -27.91, 35.71)
CIE-LCHlch(32.75, 45.32, 128.01°)
OKLaboklab(41.1% -0.0782 0.0789)
OKLCHoklch(41.1% 0.111 134.8)
XYZxyz(4.6012, 7.4235, 1.5382)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E570C #350C57
analogous
#54570C #2E570C #0C570F
triadic
#2E570C #0C2E57 #570C2E
tetradic
#2E570C #0C5457 #350C57 #570F0C
square
#2E570C #0C5457 #350C57 #570F0C
split-complementary
#2E570C #0F0C57 #570C54
monochromatic
#0E1B04 #122105 #2E570C #4A8D13 #67C31B

Accessibility & contrast

On white

8.45
#2E570C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2E570C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E570C
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E570C#FFFFFF#000000##FFFFFF
##2E570C1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e570c;
/* rgb */ color: rgb(46, 87, 12);
/* oklch */ color: oklch(41.1% 0.111 134.8);
Tailwind
colors: {
  custom: {
    50: '#6b8752',
    500: '#2e570c',
    950: '#000000',
  },
}
SCSS
$custom: #2e570c;
$custom-light: #6b8752;
$custom-dark: #000000;
JSON
{
  "hex": "#2e570c",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 12
  },
  "hsl": {
    "h": 92.8,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41098,
    "c": 0.11112,
    "h": 134.8
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#2E570C
secondary
#642D92
accent
#35F29D
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2E570C

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

Preview Lab → · Contrast checker → · Palette generator →

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