#2B5416#2B5416

#2B5416 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.1% C 0.102 H 136.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2B5416
RGBrgb(43, 84, 22)
HSLhsl(100, 58%, 21%)
HSVhsv(100, 74%, 33%)
CMYKcmyk(48.8%, 0%, 73.8%, 67.1%)
CIE-LABlab(31.61, -26.88, 30.52)
CIE-LCHlch(31.61, 40.67, 131.37°)
OKLaboklab(40.14% -0.0745 0.0697)
OKLCHoklch(40.14% 0.102 136.9)
XYZxyz(4.3113, 6.9119, 1.8659)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5416 #3F1654
analogous
#4A5416 #2B5416 #165420
triadic
#2B5416 #162B54 #54162B
tetradic
#2B5416 #164A54 #3F1654 #542016
square
#2B5416 #164A54 #3F1654 #542016
split-complementary
#2B5416 #201654 #54164A
monochromatic
#0C1806 #122409 #2B5416 #448423 #5DB52F

Accessibility & contrast

On white

8.81
#2B5416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B5416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5416
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5416#FFFFFF#000000##FFFFFF
##2B54161.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0D
Deuteranopia (green-blind)
#52491C
Tritanopia (blue-blind)
#295147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b5416;
/* rgb */ color: rgb(43, 84, 22);
/* oklch */ color: oklch(40.1% 0.102 136.9);
Tailwind
colors: {
  custom: {
    50: '#698457',
    500: '#2b5416',
    950: '#000000',
  },
}
SCSS
$custom: #2b5416;
$custom-light: #698457;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5416",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 22
  },
  "hsl": {
    "h": 99.677,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40138,
    "c": 0.10201,
    "h": 136.9
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#2B5416
secondary
#703A8B
accent
#46E2AD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5416

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

Preview Lab → · Contrast checker → · Palette generator →

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