#2B530D#2B530D

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

Color values

HEX#2B530D
RGBrgb(43, 83, 13)
HSLhsl(94, 73%, 19%)
HSVhsv(94, 84%, 33%)
CMYKcmyk(48.2%, 0%, 84.3%, 67.5%)
CIE-LABlab(31.18, -27.13, 33.83)
CIE-LCHlch(31.18, 43.37, 128.73°)
OKLaboklab(39.77% -0.0759 0.0752)
OKLCHoklch(39.77% 0.107 135.3)
XYZxyz(4.1621, 6.7289, 1.4602)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B530D #350D53
analogous
#4E530D #2B530D #0D5312
triadic
#2B530D #0D2B53 #530D2B
tetradic
#2B530D #0D4E53 #350D53 #53120D
square
#2B530D #0D4E53 #350D53 #53120D
split-complementary
#2B530D #120D53 #530D4E
monochromatic
#0E1A04 #101E05 #2B530D #468815 #62BD1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B530D#FFFFFF#000000##FFFFFF
##2B530D1.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)
#564B00
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#2A5046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b530d;
/* rgb */ color: rgb(43, 83, 13);
/* oklch */ color: oklch(39.8% 0.107 135.3);
Tailwind
colors: {
  custom: {
    50: '#698452',
    500: '#2b530d',
    950: '#000000',
  },
}
SCSS
$custom: #2b530d;
$custom-light: #698452;
$custom-dark: #000000;
JSON
{
  "hex": "#2b530d",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 13
  },
  "hsl": {
    "h": 94.286,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39769,
    "c": 0.10682,
    "h": 135.3
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#2B530D
secondary
#652E8E
accent
#38F0A1
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2B530D

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

Preview Lab → · Contrast checker → · Palette generator →

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