#2F580D#2F580D

#2F580D is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.4% C 0.111 H 134.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2F580D
RGBrgb(47, 88, 13)
HSLhsl(93, 74%, 20%)
HSVhsv(93, 85%, 35%)
CMYKcmyk(46.6%, 0%, 85.2%, 65.5%)
CIE-LABlab(33.16, -27.94, 35.77)
CIE-LCHlch(33.16, 45.39, 127.99°)
OKLaboklab(41.45% -0.0783 0.0792)
OKLCHoklch(41.45% 0.111 134.7)
XYZxyz(4.7346, 7.6126, 1.6006)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F580D #360D58
analogous
#55580D #2F580D #0D5811
triadic
#2F580D #0D2F58 #580D2F
tetradic
#2F580D #0D5558 #360D58 #58110D
square
#2F580D #0D5558 #360D58 #58110D
split-complementary
#2F580D #110D58 #580D55
monochromatic
#0E1B04 #132305 #2F580D #4B8D15 #68C31D

Accessibility & contrast

On white

8.32
#2F580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2F580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F580D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F580D#FFFFFF#000000##FFFFFF
##2F580D1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5000
Deuteranopia (green-blind)
#564D15
Tritanopia (blue-blind)
#2E544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f580d;
/* rgb */ color: rgb(47, 88, 13);
/* oklch */ color: oklch(41.4% 0.111 134.7);
Tailwind
colors: {
  custom: {
    50: '#6c8753',
    500: '#2f580d',
    950: '#000000',
  },
}
SCSS
$custom: #2f580d;
$custom-light: #6c8753;
$custom-dark: #000000;
JSON
{
  "hex": "#2f580d",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 92.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4145,
    "c": 0.11136,
    "h": 134.7
  },
  "luminance": 0.07613
}

Semantic roles & 50–950 ramp

primary
#2F580D
secondary
#652E93
accent
#37F19D
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F580D

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

Preview Lab → · Contrast checker → · Palette generator →

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