#2A580D#2A580D

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

Color values

HEX#2A580D
RGBrgb(42, 88, 13)
HSLhsl(97, 74%, 20%)
HSVhsv(97, 85%, 35%)
CMYKcmyk(52.3%, 0%, 85.2%, 65.5%)
CIE-LABlab(32.92, -29.75, 35.46)
CIE-LCHlch(32.92, 46.28, 130.00°)
OKLaboklab(41.18% -0.0828 0.0786)
OKLCHoklch(41.18% 0.114 136.5)
XYZxyz(4.5171, 7.5004, 1.5904)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A580D #3B0D58
analogous
#50580D #2A580D #0D5816
triadic
#2A580D #0D2A58 #580D2A
tetradic
#2A580D #0D5058 #3B0D58 #58160D
square
#2A580D #0D5058 #3B0D58 #58160D
split-complementary
#2A580D #160D58 #580D50
monochromatic
#0D1B04 #112305 #2A580D #438D15 #5DC31D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A580D#FFFFFF#000000##FFFFFF
##2A580D1.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: #2a580d;
/* rgb */ color: rgb(42, 88, 13);
/* oklch */ color: oklch(41.2% 0.114 136.5);
Tailwind
colors: {
  custom: {
    50: '#698753',
    500: '#2a580d',
    950: '#000000',
  },
}
SCSS
$custom: #2a580d;
$custom-light: #698753;
$custom-dark: #000000;
JSON
{
  "hex": "#2a580d",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 96.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41184,
    "c": 0.1142,
    "h": 136.5
  },
  "luminance": 0.07501
}

Semantic roles & 50–950 ramp

primary
#2A580D
secondary
#6C2E93
accent
#37F1A9
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A580D

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

Preview Lab → · Contrast checker → · Palette generator →

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