#2B5113#2B5113

#2B5113 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.2% C 0.100 H 135.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2B5113
RGBrgb(43, 81, 19)
HSLhsl(97, 62%, 20%)
HSVhsv(97, 77%, 32%)
CMYKcmyk(46.9%, 0%, 76.5%, 68.2%)
CIE-LABlab(30.51, -25.74, 30.73)
CIE-LCHlch(30.51, 40.09, 129.95°)
OKLaboklab(39.23% -0.0716 0.0697)
OKLCHoklch(39.23% 0.1 135.8)
XYZxyz(4.0561, 6.4452, 1.6463)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5113 #391351
analogous
#4A5113 #2B5113 #13511A
triadic
#2B5113 #132B51 #51132B
tetradic
#2B5113 #134A51 #391351 #511A13
square
#2B5113 #134A51 #391351 #511A13
split-complementary
#2B5113 #1A1351 #51134A
monochromatic
#0D1906 #111F07 #2B5113 #45831F #60B42A

Accessibility & contrast

On white

9.17
#2B5113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B5113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5113
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5113#FFFFFF#000000##FFFFFF
##2B51131.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A09
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#2A4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b5113;
/* rgb */ color: rgb(43, 81, 19);
/* oklch */ color: oklch(39.2% 0.100 135.8);
Tailwind
colors: {
  custom: {
    50: '#688255',
    500: '#2b5113',
    950: '#000000',
  },
}
SCSS
$custom: #2b5113;
$custom-light: #688255;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5113",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 96.774,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39231,
    "c": 0.09996,
    "h": 135.8
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#2B5113
secondary
#69368A
accent
#43E5A6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B5113

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

Preview Lab → · Contrast checker → · Palette generator →

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