#2B3708#2B3708

#2B3708 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.5% C 0.069 H 123.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#2B3708
RGBrgb(43, 55, 8)
HSLhsl(75, 75%, 12%)
HSVhsv(75, 85%, 22%)
CMYKcmyk(21.8%, 0%, 85.5%, 78.4%)
CIE-LABlab(21.07, -12.97, 25.85)
CIE-LCHlch(21.07, 28.92, 116.64°)
OKLaboklab(31.51% -0.0379 0.0582)
OKLCHoklch(31.51% 0.069 123.1)
XYZxyz(2.4063, 3.2635, 0.7328)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3708 #140837
analogous
#372C08 #2B3708 #143708
triadic
#2B3708 #082B37 #37082B
tetradic
#2B3708 #08372C #140837 #370814
square
#2B3708 #08372C #140837 #370814
split-complementary
#2B3708 #081437 #2C0837
monochromatic
#151B04 #151B04 #2B3708 #556C10 #7FA218

Accessibility & contrast

On white

12.71
#2B3708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B3708 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3708
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3708#FFFFFF#000000##FFFFFF
##2B37081.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3302
Deuteranopia (green-blind)
#39330C
Tritanopia (blue-blind)
#2E342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b3708;
/* rgb */ color: rgb(43, 55, 8);
/* oklch */ color: oklch(31.5% 0.069 123.1);
Tailwind
colors: {
  custom: {
    50: '#666d4b',
    500: '#2b3708',
    950: '#000000',
  },
}
SCSS
$custom: #2b3708;
$custom-light: #666d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3708",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 8
  },
  "hsl": {
    "h": 75.319,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31515,
    "c": 0.0694,
    "h": 123.1
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#2B3708
secondary
#3A2576
accent
#37F166
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3708

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

Preview Lab → · Contrast checker → · Palette generator →

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