#2B5910#2B5910

#2B5910 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.5% C 0.113 H 136.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2B5910
RGBrgb(43, 89, 16)
HSLhsl(98, 70%, 21%)
HSVhsv(98, 82%, 35%)
CMYKcmyk(51.7%, 0%, 82%, 65.1%)
CIE-LABlab(33.34, -29.65, 34.79)
CIE-LCHlch(33.34, 45.71, 130.44°)
OKLaboklab(41.55% -0.0824 0.0777)
OKLCHoklch(41.55% 0.113 136.7)
XYZxyz(4.6620, 7.6954, 1.7298)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5910 #3E1059
analogous
#4F5910 #2B5910 #105919
triadic
#2B5910 #102B59 #59102B
tetradic
#2B5910 #104F59 #3E1059 #591910
square
#2B5910 #104F59 #3E1059 #591910
split-complementary
#2B5910 #191059 #59104F
monochromatic
#0D1A05 #122507 #2B5910 #448D19 #5DC123

Accessibility & contrast

On white

8.27
#2B5910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B5910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5910
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5910#FFFFFF#000000##FFFFFF
##2B59101.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5102
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#29554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b5910;
/* rgb */ color: rgb(43, 89, 16);
/* oklch */ color: oklch(41.5% 0.113 136.7);
Tailwind
colors: {
  custom: {
    50: '#6a8854',
    500: '#2b5910',
    950: '#000000',
  },
}
SCSS
$custom: #2b5910;
$custom-light: #6a8854;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5910",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 16
  },
  "hsl": {
    "h": 97.808,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41548,
    "c": 0.11327,
    "h": 136.7
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#2B5910
secondary
#6F3392
accent
#3BECAB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5910

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

Preview Lab → · Contrast checker → · Palette generator →

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