#2B5310#2B5310

#2B5310 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.8% C 0.105 H 135.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2B5310
RGBrgb(43, 83, 16)
HSLhsl(96, 68%, 19%)
HSVhsv(96, 81%, 33%)
CMYKcmyk(48.2%, 0%, 80.7%, 67.5%)
CIE-LABlab(31.20, -26.92, 32.70)
CIE-LCHlch(31.20, 42.36, 129.47°)
OKLaboklab(39.79% -0.0751 0.0733)
OKLCHoklch(39.79% 0.105 135.7)
XYZxyz(4.1829, 6.7373, 1.5701)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5310 #381053
analogous
#4D5310 #2B5310 #105317
triadic
#2B5310 #102B53 #53102B
tetradic
#2B5310 #104D53 #381053 #531710
square
#2B5310 #104D53 #381053 #531710
split-complementary
#2B5310 #171053 #53104D
monochromatic
#0D1A05 #102006 #2B5310 #46861A #60BA24

Accessibility & contrast

On white

8.95
#2B5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B5310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5310
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5310#FFFFFF#000000##FFFFFF
##2B53101.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B04
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#2A5046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b5310;
/* rgb */ color: rgb(43, 83, 16);
/* oklch */ color: oklch(39.8% 0.105 135.7);
Tailwind
colors: {
  custom: {
    50: '#698454',
    500: '#2b5310',
    950: '#000000',
  },
}
SCSS
$custom: #2b5310;
$custom-light: #698454;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5310",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 95.821,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39791,
    "c": 0.10495,
    "h": 135.7
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#2B5310
secondary
#68328D
accent
#3DEBA5
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5310

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

Preview Lab → · Contrast checker → · Palette generator →

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