#2A580E#2A580E

#2A580E is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.2% C 0.114 H 136.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2A580E
RGBrgb(42, 88, 14)
HSLhsl(97, 73%, 20%)
HSVhsv(97, 84%, 35%)
CMYKcmyk(52.3%, 0%, 84.1%, 65.5%)
CIE-LABlab(32.93, -29.69, 35.11)
CIE-LCHlch(32.93, 45.98, 130.22°)
OKLaboklab(41.19% -0.0826 0.0781)
OKLCHoklch(41.19% 0.114 136.6)
XYZxyz(4.5237, 7.5031, 1.6252)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A580E #3C0E58
analogous
#4F580E #2A580E #0E5817
triadic
#2A580E #0E2A58 #580E2A
tetradic
#2A580E #0E4F58 #3C0E58 #58170E
square
#2A580E #0E4F58 #3C0E58 #58170E
split-complementary
#2A580E #170E58 #580E4F
monochromatic
#0D1A04 #112306 #2A580E #438D16 #5CC21F

Accessibility & contrast

On white

8.40
#2A580E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2A580E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A580E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A580E#FFFFFF#000000##FFFFFF
##2A580E1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5000
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#28544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a580e;
/* rgb */ color: rgb(42, 88, 14);
/* oklch */ color: oklch(41.2% 0.114 136.6);
Tailwind
colors: {
  custom: {
    50: '#698753',
    500: '#2a580e',
    950: '#000000',
  },
}
SCSS
$custom: #2a580e;
$custom-light: #698753;
$custom-dark: #000000;
JSON
{
  "hex": "#2a580e",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 14
  },
  "hsl": {
    "h": 97.297,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.41191,
    "c": 0.11364,
    "h": 136.6
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#2A580E
secondary
#6D3092
accent
#39EFAA
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A580E

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

Preview Lab → · Contrast checker → · Palette generator →

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