#2B5C10#2B5C10

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

Color values

HEX#2B5C10
RGBrgb(43, 92, 16)
HSLhsl(99, 70%, 21%)
HSVhsv(99, 83%, 36%)
CMYKcmyk(53.3%, 0%, 82.6%, 63.9%)
CIE-LABlab(34.41, -30.97, 35.82)
CIE-LCHlch(34.41, 47.35, 130.84°)
OKLaboklab(42.43% -0.086 0.0799)
OKLCHoklch(42.43% 0.117 137.1)
XYZxyz(4.9168, 8.2049, 1.8147)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5C10 #41105C
analogous
#515C10 #2B5C10 #105C1B
triadic
#2B5C10 #102B5C #5C102B
tetradic
#2B5C10 #10515C #41105C #5C1B10
square
#2B5C10 #10515C #41105C #5C1B10
split-complementary
#2B5C10 #1B105C #5C1051
monochromatic
#0C1A05 #132807 #2B5C10 #439019 #5CC422

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B5C10#FFFFFF#000000##FFFFFF
##2B5C101.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)
#5F5301
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#28584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5c10;
/* rgb */ color: rgb(43, 92, 16);
/* oklch */ color: oklch(42.4% 0.117 137.1);
Tailwind
colors: {
  custom: {
    50: '#6a8b55',
    500: '#2b5c10',
    950: '#000000',
  },
}
SCSS
$custom: #2b5c10;
$custom-light: #6a8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5c10",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 98.684,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42425,
    "c": 0.11733,
    "h": 137.1
  },
  "luminance": 0.08205
}

Semantic roles & 50–950 ramp

primary
#2B5C10
secondary
#723395
accent
#3BEDAE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5C10

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

Preview Lab → · Contrast checker → · Palette generator →

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