#2A3A0B#2A3A0B

#2A3A0B is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.072 H 126.5°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2A3A0B
RGBrgb(42, 58, 11)
HSLhsl(80, 68%, 14%)
HSVhsv(80, 81%, 23%)
CMYKcmyk(27.6%, 0%, 81%, 77.3%)
CIE-LABlab(22.10, -14.96, 25.70)
CIE-LCHlch(22.10, 29.73, 120.20°)
OKLaboklab(32.33% -0.0429 0.0579)
OKLCHoklch(32.33% 0.072 126.5)
XYZxyz(2.5283, 3.5425, 0.8671)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A0B #1B0B3A
analogous
#3A320B #2A3A0B #123A0B
triadic
#2A3A0B #0B2A3A #3A0B2A
tetradic
#2A3A0B #0B3A32 #1B0B3A #3A0B12
square
#2A3A0B #0B3A32 #1B0B3A #3A0B12
split-complementary
#2A3A0B #0B123A #320B3A
monochromatic
#131A05 #131A05 #2A3A0B #4F6D15 #75A11F

Accessibility & contrast

On white

12.29
#2A3A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3A0B
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A0B#FFFFFF#000000##FFFFFF
##2A3A0B1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3605
Deuteranopia (green-blind)
#3B350F
Tritanopia (blue-blind)
#2C3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a3a0b;
/* rgb */ color: rgb(42, 58, 11);
/* oklch */ color: oklch(32.3% 0.072 126.5);
Tailwind
colors: {
  custom: {
    50: '#65704d',
    500: '#2a3a0b',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a0b;
$custom-light: #65704d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a0b",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 11
  },
  "hsl": {
    "h": 80.426,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32334,
    "c": 0.0721,
    "h": 126.5
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#2A3A0B
secondary
#442A77
accent
#3DEB78
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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