#2A3C0D#2A3C0D

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

Color values

HEX#2A3C0D
RGBrgb(42, 60, 13)
HSLhsl(83, 64%, 14%)
HSVhsv(83, 78%, 24%)
CMYKcmyk(30%, 0%, 78.3%, 76.5%)
CIE-LABlab(22.84, -15.92, 25.56)
CIE-LCHlch(22.84, 30.11, 121.91°)
OKLaboklab(32.94% -0.0453 0.0579)
OKLCHoklch(32.94% 0.074 128.1)
XYZxyz(2.6433, 3.7530, 0.9658)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3C0D #1F0D3C
analogous
#3C370D #2A3C0D #133C0D
triadic
#2A3C0D #0D2A3C #3C0D2A
tetradic
#2A3C0D #0D3C37 #1F0D3C #3C0D13
square
#2A3C0D #0D3C37 #1F0D3C #3C0D13
split-complementary
#2A3C0D #0D133C #370D3C
monochromatic
#121905 #121905 #2A3C0D #4D6E18 #70A123

Accessibility & contrast

On white

12.00
#2A3C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3C0D
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3C0D#FFFFFF#000000##FFFFFF
##2A3C0D1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3706
Deuteranopia (green-blind)
#3D3611
Tritanopia (blue-blind)
#2C3933
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3c0d;
/* rgb */ color: rgb(42, 60, 13);
/* oklch */ color: oklch(32.9% 0.074 128.1);
Tailwind
colors: {
  custom: {
    50: '#65714f',
    500: '#2a3c0d',
    950: '#000000',
  },
}
SCSS
$custom: #2a3c0d;
$custom-light: #65714f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3c0d",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 13
  },
  "hsl": {
    "h": 82.979,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.3294,
    "c": 0.07355,
    "h": 128.1
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#2A3C0D
secondary
#4A2D78
accent
#40E780
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A3C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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