#2D570F#2D570F

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

Color values

HEX#2D570F
RGBrgb(45, 87, 15)
HSLhsl(95, 71%, 20%)
HSVhsv(95, 83%, 34%)
CMYKcmyk(48.3%, 0%, 82.8%, 65.9%)
CIE-LABlab(32.72, -28.10, 34.60)
CIE-LCHlch(32.72, 44.57, 129.08°)
OKLaboklab(41.06% -0.0785 0.0771)
OKLCHoklch(41.06% 0.11 135.5)
XYZxyz(4.5765, 7.4085, 1.6407)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D570F #390F57
analogous
#51570F #2D570F #0F5715
triadic
#2D570F #0F2D57 #570F2D
tetradic
#2D570F #0F5157 #390F57 #57150F
square
#2D570F #0F5157 #390F57 #57150F
split-complementary
#2D570F #150F57 #570F51
monochromatic
#0E1A05 #122306 #2D570F #488B18 #63BF21

Accessibility & contrast

On white

8.46
#2D570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D570F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D570F#FFFFFF#000000##FFFFFF
##2D570F1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d570f;
/* rgb */ color: rgb(45, 87, 15);
/* oklch */ color: oklch(41.1% 0.110 135.5);
Tailwind
colors: {
  custom: {
    50: '#6b8754',
    500: '#2d570f',
    950: '#000000',
  },
}
SCSS
$custom: #2d570f;
$custom-light: #6b8754;
$custom-dark: #000000;
JSON
{
  "hex": "#2d570f",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 95,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.41063,
    "c": 0.11,
    "h": 135.5
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#2D570F
secondary
#693191
accent
#3AEDA3
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D570F

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

Preview Lab → · Contrast checker → · Palette generator →

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