#2B3A04#2B3A04

#2B3A04 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.4% C 0.077 H 124.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#2B3A04
RGBrgb(43, 58, 4)
HSLhsl(77, 87%, 12%)
HSVhsv(77, 93%, 23%)
CMYKcmyk(25.9%, 0%, 93.1%, 77.3%)
CIE-LABlab(22.12, -14.99, 28.60)
CIE-LCHlch(22.12, 32.29, 117.65°)
OKLaboklab(32.35% -0.0439 0.0634)
OKLCHoklch(32.35% 0.077 124.7)
XYZxyz(2.5313, 3.5484, 0.6664)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A04 #13043A
analogous
#3A2E04 #2B3A04 #103A04
triadic
#2B3A04 #042B3A #3A042B
tetradic
#2B3A04 #043A2E #13043A #3A0410
square
#2B3A04 #043A2E #13043A #3A0410
split-complementary
#2B3A04 #04103A #2E043A
monochromatic
#151D02 #151D02 #2B3A04 #557308 #80AD0C

Accessibility & contrast

On white

12.28
#2B3A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B3A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A04
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A04#FFFFFF#000000##FFFFFF
##2B3A041.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3C3509
Tritanopia (blue-blind)
#2E3730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b3a04;
/* rgb */ color: rgb(43, 58, 4);
/* oklch */ color: oklch(32.4% 0.077 124.7);
Tailwind
colors: {
  custom: {
    50: '#67704a',
    500: '#2b3a04',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a04;
$custom-light: #67704a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a04",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 76.667,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32354,
    "c": 0.07708,
    "h": 124.7
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#2B3A04
secondary
#381E7C
accent
#2BFD65
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3A04

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

Preview Lab → · Contrast checker → · Palette generator →

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