#2B5016#2B5016

#2B5016 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.0% C 0.096 H 136.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2B5016
RGBrgb(43, 80, 22)
HSLhsl(98, 57%, 20%)
HSVhsv(98, 73%, 31%)
CMYKcmyk(46.2%, 0%, 72.5%, 68.6%)
CIE-LABlab(30.18, -24.99, 29.00)
CIE-LCHlch(30.18, 38.28, 130.75°)
OKLaboklab(38.97% -0.0693 0.0665)
OKLCHoklch(38.97% 0.096 136.2)
XYZxyz(4.0096, 6.3086, 1.7653)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5016 #3B1650
analogous
#485016 #2B5016 #16501E
triadic
#2B5016 #162B50 #50162B
tetradic
#2B5016 #164850 #3B1650 #501E16
square
#2B5016 #164850 #3B1650 #501E16
split-complementary
#2B5016 #1E1650 #501648
monochromatic
#0D1807 #112009 #2B5016 #458023 #5FB030

Accessibility & contrast

On white

9.28
#2B5016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B5016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5016
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5016#FFFFFF#000000##FFFFFF
##2B50161.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490E
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#2A4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b5016;
/* rgb */ color: rgb(43, 80, 22);
/* oklch */ color: oklch(39.0% 0.096 136.2);
Tailwind
colors: {
  custom: {
    50: '#688156',
    500: '#2b5016',
    950: '#000000',
  },
}
SCSS
$custom: #2b5016;
$custom-light: #688156;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5016",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 98.276,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.38969,
    "c": 0.09608,
    "h": 136.2
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#2B5016
secondary
#6C3A87
accent
#48E0A9
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B5016

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

Preview Lab → · Contrast checker → · Palette generator →

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