#2B3C07#2B3C07

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

Color values

HEX#2B3C07
RGBrgb(43, 60, 7)
HSLhsl(79, 79%, 13%)
HSVhsv(79, 88%, 24%)
CMYKcmyk(28.3%, 0%, 88.3%, 76.5%)
CIE-LABlab(22.86, -15.89, 28.16)
CIE-LCHlch(22.86, 32.34, 119.44°)
OKLaboklab(32.97% -0.046 0.0625)
OKLCHoklch(32.97% 0.078 126.3)
XYZxyz(2.6505, 3.7606, 0.7872)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C07 #18073C
analogous
#3C3207 #2B3C07 #113C07
triadic
#2B3C07 #072B3C #3C072B
tetradic
#2B3C07 #073C32 #18073C #3C0711
square
#2B3C07 #073C32 #18073C #3C0711
split-complementary
#2B3C07 #07113C #32073C
monochromatic
#141B03 #141B03 #2B3C07 #52730D #7AAA14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3C07#FFFFFF#000000##FFFFFF
##2B3C071.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)
#403700
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#2D3932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3c07;
/* rgb */ color: rgb(43, 60, 7);
/* oklch */ color: oklch(33.0% 0.078 126.3);
Tailwind
colors: {
  custom: {
    50: '#67714c',
    500: '#2b3c07',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c07;
$custom-light: #67714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c07",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 7
  },
  "hsl": {
    "h": 79.245,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32965,
    "c": 0.0776,
    "h": 126.3
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#2B3C07
secondary
#40237B
accent
#32F671
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3C07

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

Preview Lab → · Contrast checker → · Palette generator →

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