#2B3C08#2B3C08

#2B3C08 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.0% C 0.077 H 126.5°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#2B3C08
RGBrgb(43, 60, 8)
HSLhsl(80, 76%, 13%)
HSVhsv(80, 87%, 24%)
CMYKcmyk(28.3%, 0%, 86.7%, 76.5%)
CIE-LABlab(22.87, -15.82, 27.76)
CIE-LCHlch(22.87, 31.95, 119.68°)
OKLaboklab(32.97% -0.0457 0.0618)
OKLCHoklch(32.97% 0.077 126.5)
XYZxyz(2.6560, 3.7628, 0.8160)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C08 #19083C
analogous
#3C3308 #2B3C08 #113C08
triadic
#2B3C08 #082B3C #3C082B
tetradic
#2B3C08 #083C33 #19083C #3C0811
square
#2B3C08 #083C33 #19083C #3C0811
split-complementary
#2B3C08 #08113C #33083C
monochromatic
#131B04 #131B04 #2B3C08 #52720F #78A816

Accessibility & contrast

On white

11.98
#2B3C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B3C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C08
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C08#FFFFFF#000000##FFFFFF
##2B3C081.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403701
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#2D3932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3c08;
/* rgb */ color: rgb(43, 60, 8);
/* oklch */ color: oklch(33.0% 0.077 126.5);
Tailwind
colors: {
  custom: {
    50: '#66714c',
    500: '#2b3c08',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c08;
$custom-light: #66714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c08",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 79.615,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32974,
    "c": 0.07684,
    "h": 126.5
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#2B3C08
secondary
#41257B
accent
#35F373
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3C08

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

Preview Lab → · Contrast checker → · Palette generator →

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