#2B3D08#2B3D08

#2B3D08 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.078 H 127.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#2B3D08
RGBrgb(43, 61, 8)
HSLhsl(80, 77%, 14%)
HSVhsv(80, 87%, 24%)
CMYKcmyk(29.5%, 0%, 86.9%, 76.1%)
CIE-LABlab(23.23, -16.38, 28.13)
CIE-LCHlch(23.23, 32.55, 120.21°)
OKLaboklab(33.27% -0.0472 0.0625)
OKLCHoklch(33.27% 0.078 127)
XYZxyz(2.7088, 3.8686, 0.8337)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D08 #1A083D
analogous
#3D3408 #2B3D08 #103D08
triadic
#2B3D08 #082B3D #3D082B
tetradic
#2B3D08 #083D34 #1A083D #3D0810
square
#2B3D08 #083D34 #1A083D #3D0810
split-complementary
#2B3D08 #08103D #34083D
monochromatic
#131B04 #131B04 #2B3D08 #51730F #77A916

Accessibility & contrast

On white

11.84
#2B3D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B3D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D08
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D08#FFFFFF#000000##FFFFFF
##2B3D081.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413801
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#2D3A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3d08;
/* rgb */ color: rgb(43, 61, 8);
/* oklch */ color: oklch(33.3% 0.078 127.0);
Tailwind
colors: {
  custom: {
    50: '#67724c',
    500: '#2b3d08',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d08;
$custom-light: #67724c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d08",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 80.377,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33267,
    "c": 0.07832,
    "h": 127
  },
  "luminance": 0.03869
}

Semantic roles & 50–950 ramp

primary
#2B3D08
secondary
#43257C
accent
#34F375
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B3D08

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

Preview Lab → · Contrast checker → · Palette generator →

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