#2B530F#2B530F

#2B530F is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.8% C 0.106 H 135.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2B530F
RGBrgb(43, 83, 15)
HSLhsl(95, 69%, 19%)
HSVhsv(95, 82%, 33%)
CMYKcmyk(48.2%, 0%, 81.9%, 67.5%)
CIE-LABlab(31.19, -27.00, 33.09)
CIE-LCHlch(31.19, 42.71, 129.21°)
OKLaboklab(39.78% -0.0753 0.074)
OKLCHoklch(39.78% 0.106 135.5)
XYZxyz(4.1756, 6.7343, 1.5317)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B530F #370F53
analogous
#4D530F #2B530F #0F5315
triadic
#2B530F #0F2B53 #530F2B
tetradic
#2B530F #0F4D53 #370F53 #53150F
square
#2B530F #0F4D53 #370F53 #53150F
split-complementary
#2B530F #150F53 #530F4D
monochromatic
#0D1A05 #101F06 #2B530F #468718 #61BB22

Accessibility & contrast

On white

8.95
#2B530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B530F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B530F#FFFFFF#000000##FFFFFF
##2B530F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B03
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#2A5046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b530f;
/* rgb */ color: rgb(43, 83, 15);
/* oklch */ color: oklch(39.8% 0.106 135.5);
Tailwind
colors: {
  custom: {
    50: '#698453',
    500: '#2b530f',
    950: '#000000',
  },
}
SCSS
$custom: #2b530f;
$custom-light: #698453;
$custom-dark: #000000;
JSON
{
  "hex": "#2b530f",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 95.294,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39784,
    "c": 0.1056,
    "h": 135.5
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#2B530F
secondary
#67318D
accent
#3CECA3
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B530F

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

Preview Lab → · Contrast checker → · Palette generator →

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