#2B3810#2B3810

#2B3810 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.064 H 125.1°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2B3810
RGBrgb(43, 56, 16)
HSLhsl(80, 56%, 14%)
HSVhsv(80, 71%, 22%)
CMYKcmyk(23.2%, 0%, 71.4%, 78%)
CIE-LABlab(21.50, -12.87, 22.63)
CIE-LCHlch(21.50, 26.04, 119.63°)
OKLaboklab(31.89% -0.0367 0.0522)
OKLCHoklch(31.89% 0.064 125.1)
XYZxyz(2.5040, 3.3793, 1.0105)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3810 #1D1038
analogous
#383110 #2B3810 #173810
triadic
#2B3810 #102B38 #38102B
tetradic
#2B3810 #103831 #1D1038 #381017
square
#2B3810 #103831 #1D1038 #381017
split-complementary
#2B3810 #101738 #311038
monochromatic
#121807 #121807 #2B3810 #50681E #74972B

Accessibility & contrast

On white

12.53
#2B3810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B3810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3810
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3810#FFFFFF#000000##FFFFFF
##2B38101.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340B
Deuteranopia (green-blind)
#3A3313
Tritanopia (blue-blind)
#2D3530
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b3810;
/* rgb */ color: rgb(43, 56, 16);
/* oklch */ color: oklch(31.9% 0.064 125.1);
Tailwind
colors: {
  custom: {
    50: '#666e50',
    500: '#2b3810',
    950: '#000000',
  },
}
SCSS
$custom: #2b3810;
$custom-light: #666e50;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3810",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 16
  },
  "hsl": {
    "h": 79.5,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31889,
    "c": 0.06381,
    "h": 125.1
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#2B3810
secondary
#473272
accent
#49DF7A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B3810

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

Preview Lab → · Contrast checker → · Palette generator →

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