#2A3B0B#2A3B0B

#2A3B0B is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.074 H 127.1°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2A3B0B
RGBrgb(42, 59, 11)
HSLhsl(81, 69%, 14%)
HSVhsv(81, 81%, 23%)
CMYKcmyk(28.8%, 0%, 81.4%, 76.9%)
CIE-LABlab(22.46, -15.52, 26.08)
CIE-LCHlch(22.46, 30.35, 120.76°)
OKLaboklab(32.63% -0.0445 0.0587)
OKLCHoklch(32.63% 0.074 127.1)
XYZxyz(2.5792, 3.6443, 0.8841)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B0B #1C0B3B
analogous
#3B340B #2A3B0B #123B0B
triadic
#2A3B0B #0B2A3B #3B0B2A
tetradic
#2A3B0B #0B3B34 #1C0B3B #3B0B12
square
#2A3B0B #0B3B34 #1C0B3B #3B0B12
split-complementary
#2A3B0B #0B123B #340B3B
monochromatic
#121A05 #121A05 #2A3B0B #4F6F15 #73A21E

Accessibility & contrast

On white

12.15
#2A3B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2A3B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3B0B
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B0B#FFFFFF#000000##FFFFFF
##2A3B0B1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3604
Deuteranopia (green-blind)
#3C350F
Tritanopia (blue-blind)
#2C3832
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3b0b;
/* rgb */ color: rgb(42, 59, 11);
/* oklch */ color: oklch(32.6% 0.074 127.1);
Tailwind
colors: {
  custom: {
    50: '#65714d',
    500: '#2a3b0b',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b0b;
$custom-light: #65714d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b0b",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 11
  },
  "hsl": {
    "h": 81.25,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32627,
    "c": 0.07364,
    "h": 127.1
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

primary
#2A3B0B
secondary
#462A78
accent
#3CEB7A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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