#2B520E#2B520E

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

Color values

HEX#2B520E
RGBrgb(43, 82, 14)
HSLhsl(94, 71%, 19%)
HSVhsv(94, 83%, 32%)
CMYKcmyk(47.6%, 0%, 82.9%, 67.8%)
CIE-LABlab(30.83, -26.60, 33.12)
CIE-LCHlch(30.83, 42.48, 128.77°)
OKLaboklab(39.48% -0.0744 0.0739)
OKLCHoklch(39.48% 0.105 135.2)
XYZxyz(4.0927, 6.5796, 1.4697)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B520E #350E52
analogous
#4D520E #2B520E #0E5213
triadic
#2B520E #0E2B52 #520E2B
tetradic
#2B520E #0E4D52 #350E52 #52130E
square
#2B520E #0E4D52 #350E52 #52130E
split-complementary
#2B520E #130E52 #520E4D
monochromatic
#0E1A04 #101E05 #2B520E #468617 #62BB20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B520E#FFFFFF#000000##FFFFFF
##2B520E1.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)
#554B02
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#2A4F45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b520e;
/* rgb */ color: rgb(43, 82, 14);
/* oklch */ color: oklch(39.5% 0.105 135.2);
Tailwind
colors: {
  custom: {
    50: '#698352',
    500: '#2b520e',
    950: '#000000',
  },
}
SCSS
$custom: #2b520e;
$custom-light: #698352;
$custom-dark: #000000;
JSON
{
  "hex": "#2b520e",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 14
  },
  "hsl": {
    "h": 94.412,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39483,
    "c": 0.10482,
    "h": 135.2
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#2B520E
secondary
#652F8C
accent
#3AEEA1
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B520E

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

Preview Lab → · Contrast checker → · Palette generator →

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