#2B5B0D#2B5B0D

#2B5B0D is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.1% C 0.118 H 136.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2B5B0D
RGBrgb(43, 91, 13)
HSLhsl(97, 75%, 20%)
HSVhsv(97, 86%, 36%)
CMYKcmyk(52.7%, 0%, 85.7%, 64.3%)
CIE-LABlab(34.03, -30.72, 36.51)
CIE-LCHlch(34.03, 47.72, 130.08°)
OKLaboklab(42.11% -0.0855 0.0808)
OKLCHoklch(42.11% 0.118 136.6)
XYZxyz(4.8099, 8.0245, 1.6761)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5B0D #3D0D5B
analogous
#525B0D #2B5B0D #0D5B16
triadic
#2B5B0D #0D2B5B #5B0D2B
tetradic
#2B5B0D #0D525B #3D0D5B #5B160D
square
#2B5B0D #0D525B #3D0D5B #5B160D
split-complementary
#2B5B0D #160D5B #5B0D52
monochromatic
#0D1B04 #122505 #2B5B0D #449115 #5EC61C

Accessibility & contrast

On white

8.06
#2B5B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2B5B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5B0D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5B0D#FFFFFF#000000##FFFFFF
##2B5B0D1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#584F16
Tritanopia (blue-blind)
#28574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b5b0d;
/* rgb */ color: rgb(43, 91, 13);
/* oklch */ color: oklch(42.1% 0.118 136.6);
Tailwind
colors: {
  custom: {
    50: '#6a8a53',
    500: '#2b5b0d',
    950: '#000000',
  },
}
SCSS
$custom: #2b5b0d;
$custom-light: #6a8a53;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5b0d",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 13
  },
  "hsl": {
    "h": 96.923,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42113,
    "c": 0.11765,
    "h": 136.6
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#2B5B0D
secondary
#6E2F95
accent
#36F2AA
background
#F6F8F5
surface
#EBF0E8
border
#C6CBC4
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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