#2B520D#2B520D

#2B520D is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.5% C 0.105 H 135.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2B520D
RGBrgb(43, 82, 13)
HSLhsl(94, 73%, 19%)
HSVhsv(94, 84%, 32%)
CMYKcmyk(47.6%, 0%, 84.1%, 67.8%)
CIE-LABlab(30.82, -26.67, 33.49)
CIE-LCHlch(30.82, 42.81, 128.53°)
OKLaboklab(39.48% -0.0746 0.0745)
OKLCHoklch(39.48% 0.105 135)
XYZxyz(4.0861, 6.5770, 1.4349)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B520D #340D52
analogous
#4D520D #2B520D #0D5211
triadic
#2B520D #0D2B52 #520D2B
tetradic
#2B520D #0D4D52 #340D52 #52110D
square
#2B520D #0D4D52 #340D52 #52110D
split-complementary
#2B520D #110D52 #520D4D
monochromatic
#0E1A04 #0F1D05 #2B520D #478715 #62BC1E

Accessibility & contrast

On white

9.07
#2B520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B520D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B520D#FFFFFF#000000##FFFFFF
##2B520D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B00
Deuteranopia (green-blind)
#504714
Tritanopia (blue-blind)
#2A4F45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b520d;
/* rgb */ color: rgb(43, 82, 13);
/* oklch */ color: oklch(39.5% 0.105 135.0);
Tailwind
colors: {
  custom: {
    50: '#698352',
    500: '#2b520d',
    950: '#000000',
  },
}
SCSS
$custom: #2b520d;
$custom-light: #698352;
$custom-dark: #000000;
JSON
{
  "hex": "#2b520d",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 93.913,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39476,
    "c": 0.10542,
    "h": 135
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#2B520D
secondary
#642E8D
accent
#38EFA0
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2B520D

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

Preview Lab → · Contrast checker → · Palette generator →

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