#2D530F#2D530F

#2D530F is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.104 H 134.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2D530F
RGBrgb(45, 83, 15)
HSLhsl(94, 69%, 19%)
HSVhsv(94, 82%, 33%)
CMYKcmyk(45.8%, 0%, 81.9%, 67.5%)
CIE-LABlab(31.30, -26.24, 33.23)
CIE-LCHlch(31.30, 42.34, 128.30°)
OKLaboklab(39.9% -0.0734 0.0742)
OKLCHoklch(39.9% 0.104 134.7)
XYZxyz(4.2616, 6.7787, 1.5357)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D530F #350F53
analogous
#4F530F #2D530F #0F5313
triadic
#2D530F #0F2D53 #530F2D
tetradic
#2D530F #0F4F53 #350F53 #53130F
square
#2D530F #0F4F53 #350F53 #53130F
split-complementary
#2D530F #130F53 #530F4F
monochromatic
#0E1A05 #111F06 #2D530F #498718 #65BB22

Accessibility & contrast

On white

8.91
#2D530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D530F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D530F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D530F#FFFFFF#000000##FFFFFF
##2D530F1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C03
Deuteranopia (green-blind)
#514916
Tritanopia (blue-blind)
#2C4F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d530f;
/* rgb */ color: rgb(45, 83, 15);
/* oklch */ color: oklch(39.9% 0.104 134.7);
Tailwind
colors: {
  custom: {
    50: '#6a8453',
    500: '#2d530f',
    950: '#000000',
  },
}
SCSS
$custom: #2d530f;
$custom-light: #6a8453;
$custom-dark: #000000;
JSON
{
  "hex": "#2d530f",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 93.529,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39897,
    "c": 0.10443,
    "h": 134.7
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#2D530F
secondary
#64318D
accent
#3CEC9E
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D530F

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

Preview Lab → · Contrast checker → · Palette generator →

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