#2B5013#2B5013

#2B5013 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 38.9% C 0.099 H 135.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2B5013
RGBrgb(43, 80, 19)
HSLhsl(96, 62%, 19%)
HSVhsv(96, 76%, 31%)
CMYKcmyk(46.2%, 0%, 76.3%, 68.6%)
CIE-LABlab(30.15, -25.27, 30.36)
CIE-LCHlch(30.15, 39.50, 129.76°)
OKLaboklab(38.94% -0.0703 0.0689)
OKLCHoklch(38.94% 0.099 135.6)
XYZxyz(3.9824, 6.2977, 1.6217)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5013 #381350
analogous
#4A5013 #2B5013 #135019
triadic
#2B5013 #132B50 #50132B
tetradic
#2B5013 #134A50 #381350 #501913
square
#2B5013 #134A50 #381350 #501913
split-complementary
#2B5013 #191350 #50134A
monochromatic
#0D1906 #101F07 #2B5013 #46811F #60B32A

Accessibility & contrast

On white

9.29
#2B5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5013
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5013#FFFFFF#000000##FFFFFF
##2B50131.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b5013;
/* rgb */ color: rgb(43, 80, 19);
/* oklch */ color: oklch(38.9% 0.099 135.6);
Tailwind
colors: {
  custom: {
    50: '#688155',
    500: '#2b5013',
    950: '#000000',
  },
}
SCSS
$custom: #2b5013;
$custom-light: #688155;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5013",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 96.393,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38938,
    "c": 0.0985,
    "h": 135.6
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#2B5013
secondary
#683689
accent
#43E5A5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B5013

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

Preview Lab → · Contrast checker → · Palette generator →

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