#2B3C05#2B3C05

#2B3C05 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 32.9% C 0.079 H 126.1°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#2B3C05
RGBrgb(43, 60, 5)
HSLhsl(79, 85%, 13%)
HSVhsv(79, 92%, 24%)
CMYKcmyk(28.3%, 0%, 91.7%, 76.5%)
CIE-LABlab(22.85, -16.04, 28.96)
CIE-LCHlch(22.85, 33.10, 118.98°)
OKLaboklab(32.95% -0.0466 0.064)
OKLCHoklch(32.95% 0.079 126.1)
XYZxyz(2.6395, 3.7562, 0.7295)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C05 #16053C
analogous
#3C3105 #2B3C05 #103C05
triadic
#2B3C05 #052B3C #3C052B
tetradic
#2B3C05 #053C31 #16053C #3C0510
square
#2B3C05 #053C31 #16053C #3C0510
split-complementary
#2B3C05 #05103C #31053C
monochromatic
#141C02 #141C02 #2B3C05 #53740A #7CAD0E

Accessibility & contrast

On white

11.99
#2B3C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3C05
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C05#FFFFFF#000000##FFFFFF
##2B3C051.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3c05;
/* rgb */ color: rgb(43, 60, 5);
/* oklch */ color: oklch(32.9% 0.079 126.1);
Tailwind
colors: {
  custom: {
    50: '#67714b',
    500: '#2b3c05',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c05;
$custom-light: #67714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c05",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 5
  },
  "hsl": {
    "h": 78.545,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32948,
    "c": 0.07914,
    "h": 126.1
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#2B3C05
secondary
#3D207D
accent
#2DFB6D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3C05

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

Preview Lab → · Contrast checker → · Palette generator →

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