#2B3D07#2B3D07

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

Color values

HEX#2B3D07
RGBrgb(43, 61, 7)
HSLhsl(80, 79%, 13%)
HSVhsv(80, 89%, 24%)
CMYKcmyk(29.5%, 0%, 88.5%, 76.1%)
CIE-LABlab(23.22, -16.45, 28.53)
CIE-LCHlch(23.22, 32.93, 119.96°)
OKLaboklab(33.26% -0.0475 0.0632)
OKLCHoklch(33.26% 0.079 126.9)
XYZxyz(2.7034, 3.8664, 0.8048)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D07 #19073D
analogous
#3D3407 #2B3D07 #103D07
triadic
#2B3D07 #072B3D #3D072B
tetradic
#2B3D07 #073D34 #19073D #3D0710
square
#2B3D07 #073D34 #19073D #3D0710
split-complementary
#2B3D07 #07103D #34073D
monochromatic
#131B03 #131B03 #2B3D07 #52740D #78AB14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3D07#FFFFFF#000000##FFFFFF
##2B3D071.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)
#413800
Deuteranopia (green-blind)
#3E370C
Tritanopia (blue-blind)
#2D3A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3d07;
/* rgb */ color: rgb(43, 61, 7);
/* oklch */ color: oklch(33.3% 0.079 126.9);
Tailwind
colors: {
  custom: {
    50: '#67724c',
    500: '#2b3d07',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d07;
$custom-light: #67724c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d07",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 80,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33258,
    "c": 0.07907,
    "h": 126.9
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#2B3D07
secondary
#41237C
accent
#32F673
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B3D07

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

Preview Lab → · Contrast checker → · Palette generator →

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