#2A3C0C#2A3C0C

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

Color values

HEX#2A3C0C
RGBrgb(42, 60, 12)
HSLhsl(83, 67%, 14%)
HSVhsv(83, 80%, 24%)
CMYKcmyk(30%, 0%, 80%, 76.5%)
CIE-LABlab(22.83, -16.00, 26.02)
CIE-LCHlch(22.83, 30.54, 121.58°)
OKLaboklab(32.93% -0.0457 0.0587)
OKLCHoklch(32.93% 0.074 127.9)
XYZxyz(2.6371, 3.7504, 0.9327)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3C0C #1E0C3C
analogous
#3C360C #2A3C0C #123C0C
triadic
#2A3C0C #0C2A3C #3C0C2A
tetradic
#2A3C0C #0C3C36 #1E0C3C #3C0C12
square
#2A3C0C #0C3C36 #1E0C3C #3C0C12
split-complementary
#2A3C0C #0C123C #360C3C
monochromatic
#121A05 #121A05 #2A3C0C #4E6F16 #71A220

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3C0C#FFFFFF#000000##FFFFFF
##2A3C0C1.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)
#3F3705
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#2C3932
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3c0c;
/* rgb */ color: rgb(42, 60, 12);
/* oklch */ color: oklch(32.9% 0.074 127.9);
Tailwind
colors: {
  custom: {
    50: '#65714e',
    500: '#2a3c0c',
    950: '#000000',
  },
}
SCSS
$custom: #2a3c0c;
$custom-light: #65714e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3c0c",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 12
  },
  "hsl": {
    "h": 82.5,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3293,
    "c": 0.07438,
    "h": 127.9
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#2A3C0C
secondary
#482C78
accent
#3EEA7E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A3C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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