#2B5C11#2B5C11

#2B5C11 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.4% C 0.117 H 137.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2B5C11
RGBrgb(43, 92, 17)
HSLhsl(99, 69%, 21%)
HSVhsv(99, 82%, 36%)
CMYKcmyk(53.3%, 0%, 81.5%, 63.9%)
CIE-LABlab(34.41, -30.90, 35.46)
CIE-LCHlch(34.41, 47.03, 131.07°)
OKLaboklab(42.43% -0.0857 0.0793)
OKLCHoklch(42.43% 0.117 137.2)
XYZxyz(4.9244, 8.2080, 1.8550)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5C11 #42115C
analogous
#515C11 #2B5C11 #115C1D
triadic
#2B5C11 #112B5C #5C112B
tetradic
#2B5C11 #11515C #42115C #5C1D11
square
#2B5C11 #11515C #42115C #5C1D11
split-complementary
#2B5C11 #1D115C #5C1151
monochromatic
#0C1A05 #132807 #2B5C11 #43901B #5BC324

Accessibility & contrast

On white

7.95
#2B5C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2B5C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5C11
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5C11#FFFFFF#000000##FFFFFF
##2B5C111.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5302
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#28584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5c11;
/* rgb */ color: rgb(43, 92, 17);
/* oklch */ color: oklch(42.4% 0.117 137.2);
Tailwind
colors: {
  custom: {
    50: '#6a8b55',
    500: '#2b5c11',
    950: '#000000',
  },
}
SCSS
$custom: #2b5c11;
$custom-light: #6a8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5c11",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 99.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42432,
    "c": 0.11674,
    "h": 137.2
  },
  "luminance": 0.08208
}

Semantic roles & 50–950 ramp

primary
#2B5C11
secondary
#733495
accent
#3CECAF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5C11

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

Preview Lab → · Contrast checker → · Palette generator →

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