#2B5B10#2B5B10

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

Color values

HEX#2B5B10
RGBrgb(43, 91, 16)
HSLhsl(98, 70%, 21%)
HSVhsv(98, 82%, 36%)
CMYKcmyk(52.7%, 0%, 82.4%, 64.3%)
CIE-LABlab(34.05, -30.53, 35.48)
CIE-LCHlch(34.05, 46.80, 130.71°)
OKLaboklab(42.13% -0.0848 0.0792)
OKLCHoklch(42.13% 0.116 137)
XYZxyz(4.8307, 8.0328, 1.7861)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5B10 #40105B
analogous
#505B10 #2B5B10 #105B1A
triadic
#2B5B10 #102B5B #5B102B
tetradic
#2B5B10 #10505B #40105B #5B1A10
square
#2B5B10 #10505B #40105B #5B1A10
split-complementary
#2B5B10 #1A105B #5B1050
monochromatic
#0C1A05 #122707 #2B5B10 #448F19 #5CC322

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B5B10#FFFFFF#000000##FFFFFF
##2B5B101.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)
#5E5301
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#28574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b5b10;
/* rgb */ color: rgb(43, 91, 16);
/* oklch */ color: oklch(42.1% 0.116 137.0);
Tailwind
colors: {
  custom: {
    50: '#6a8a55',
    500: '#2b5b10',
    950: '#000000',
  },
}
SCSS
$custom: #2b5b10;
$custom-light: #6a8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5b10",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 98.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.11599,
    "h": 137
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#2B5B10
secondary
#713394
accent
#3BEDAD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5B10

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

Preview Lab → · Contrast checker → · Palette generator →

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