#2D530C#2D530C

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

Color values

HEX#2D530C
RGBrgb(45, 83, 12)
HSLhsl(92, 75%, 19%)
HSVhsv(92, 86%, 33%)
CMYKcmyk(45.8%, 0%, 85.5%, 67.5%)
CIE-LABlab(31.28, -26.44, 34.32)
CIE-LCHlch(31.28, 43.32, 127.61°)
OKLaboklab(39.88% -0.0742 0.076)
OKLCHoklch(39.88% 0.106 134.3)
XYZxyz(4.2417, 6.7707, 1.4311)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D530C #320C53
analogous
#50530C #2D530C #0C530E
triadic
#2D530C #0C2D53 #530C2D
tetradic
#2D530C #0C5053 #320C53 #530E0C
square
#2D530C #0C5053 #320C53 #530E0C
split-complementary
#2D530C #0E0C53 #530C50
monochromatic
#0E1B04 #101E04 #2D530C #4A8814 #67BE1B

Accessibility & contrast

On white

8.92
#2D530C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D530C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D530C
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D530C#FFFFFF#000000##FFFFFF
##2D530C1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#2C4F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d530c;
/* rgb */ color: rgb(45, 83, 12);
/* oklch */ color: oklch(39.9% 0.106 134.3);
Tailwind
colors: {
  custom: {
    50: '#6a8452',
    500: '#2d530c',
    950: '#000000',
  },
}
SCSS
$custom: #2d530c;
$custom-light: #6a8452;
$custom-dark: #000000;
JSON
{
  "hex": "#2d530c",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 92.113,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39875,
    "c": 0.10622,
    "h": 134.3
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#2D530C
secondary
#612D8E
accent
#36F19A
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2D530C

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

Preview Lab → · Contrast checker → · Palette generator →

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