#2B5316#2B5316

#2B5316 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.8% C 0.101 H 136.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2B5316
RGBrgb(43, 83, 22)
HSLhsl(99, 58%, 21%)
HSVhsv(99, 73%, 33%)
CMYKcmyk(48.2%, 0%, 73.5%, 67.5%)
CIE-LABlab(31.25, -26.41, 30.14)
CIE-LCHlch(31.25, 40.07, 131.23°)
OKLaboklab(39.85% -0.0732 0.0689)
OKLCHoklch(39.85% 0.101 136.7)
XYZxyz(4.2342, 6.7578, 1.8402)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5316 #3E1653
analogous
#495316 #2B5316 #16531F
triadic
#2B5316 #162B53 #53162B
tetradic
#2B5316 #164953 #3E1653 #531F16
square
#2B5316 #164953 #3E1653 #531F16
split-complementary
#2B5316 #1F1653 #531649
monochromatic
#0D1806 #122309 #2B5316 #448323 #5DB430

Accessibility & contrast

On white

8.93
#2B5316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5316
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5316#FFFFFF#000000##FFFFFF
##2B53161.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0D
Deuteranopia (green-blind)
#51481B
Tritanopia (blue-blind)
#295047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b5316;
/* rgb */ color: rgb(43, 83, 22);
/* oklch */ color: oklch(39.8% 0.101 136.7);
Tailwind
colors: {
  custom: {
    50: '#688457',
    500: '#2b5316',
    950: '#000000',
  },
}
SCSS
$custom: #2b5316;
$custom-light: #688457;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5316",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 99.344,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39846,
    "c": 0.10054,
    "h": 136.7
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#2B5316
secondary
#6F3A8A
accent
#46E1AC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5316

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

Preview Lab → · Contrast checker → · Palette generator →

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