#2A3C0A#2A3C0A

#2A3C0A is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.9% C 0.076 H 127.6°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#2A3C0A
RGBrgb(42, 60, 10)
HSLhsl(82, 71%, 14%)
HSVhsv(82, 83%, 24%)
CMYKcmyk(30%, 0%, 83.3%, 76.5%)
CIE-LABlab(22.81, -16.15, 26.86)
CIE-LCHlch(22.81, 31.34, 121.02°)
OKLaboklab(32.91% -0.0463 0.0602)
OKLCHoklch(32.91% 0.076 127.6)
XYZxyz(2.6255, 3.7458, 0.8718)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3C0A #1C0A3C
analogous
#3C350A #2A3C0A #113C0A
triadic
#2A3C0A #0A2A3C #3C0A2A
tetradic
#2A3C0A #0A3C35 #1C0A3C #3C0A11
square
#2A3C0A #0A3C35 #1C0A3C #3C0A11
split-complementary
#2A3C0A #0A113C #350A3C
monochromatic
#121A04 #121A04 #2A3C0A #4F7013 #73A51B

Accessibility & contrast

On white

12.01
#2A3C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3C0A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3C0A#FFFFFF#000000##FFFFFF
##2A3C0A1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3703
Deuteranopia (green-blind)
#3D360F
Tritanopia (blue-blind)
#2C3932
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3c0a;
/* rgb */ color: rgb(42, 60, 10);
/* oklch */ color: oklch(32.9% 0.076 127.6);
Tailwind
colors: {
  custom: {
    50: '#66714d',
    500: '#2a3c0a',
    950: '#000000',
  },
}
SCSS
$custom: #2a3c0a;
$custom-light: #66714d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3c0a",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 10
  },
  "hsl": {
    "h": 81.6,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32912,
    "c": 0.07593,
    "h": 127.6
  },
  "luminance": 0.03746
}

Semantic roles & 50–950 ramp

primary
#2A3C0A
secondary
#462879
accent
#3AEE7B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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