#2E570F#2E570F

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

Color values

HEX#2E570F
RGBrgb(46, 87, 15)
HSLhsl(94, 71%, 20%)
HSVhsv(94, 83%, 34%)
CMYKcmyk(47.1%, 0%, 82.8%, 65.9%)
CIE-LABlab(32.77, -27.73, 34.67)
CIE-LCHlch(32.77, 44.39, 128.65°)
OKLaboklab(41.12% -0.0775 0.0772)
OKLCHoklch(41.12% 0.109 135.1)
XYZxyz(4.6210, 7.4315, 1.6428)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E570F #380F57
analogous
#52570F #2E570F #0F5714
triadic
#2E570F #0F2E57 #570F2E
tetradic
#2E570F #0F5257 #380F57 #57140F
square
#2E570F #0F5257 #380F57 #57140F
split-complementary
#2E570F #140F57 #570F52
monochromatic
#0E1A05 #122306 #2E570F #4A8B18 #65BF21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E570F#FFFFFF#000000##FFFFFF
##2E570F1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e570f;
/* rgb */ color: rgb(46, 87, 15);
/* oklch */ color: oklch(41.1% 0.109 135.1);
Tailwind
colors: {
  custom: {
    50: '#6b8754',
    500: '#2e570f',
    950: '#000000',
  },
}
SCSS
$custom: #2e570f;
$custom-light: #6b8754;
$custom-dark: #000000;
JSON
{
  "hex": "#2e570f",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 94.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.41118,
    "c": 0.10943,
    "h": 135.1
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#2E570F
secondary
#683191
accent
#3AEDA0
background
#F6F8F5
surface
#ECEFE8
border
#C7CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E570F

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

Preview Lab → · Contrast checker → · Palette generator →

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