#2A3C13#2A3C13

#2A3C13 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.0% C 0.068 H 129.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#2A3C13
RGBrgb(42, 60, 19)
HSLhsl(86, 52%, 15%)
HSVhsv(86, 68%, 24%)
CMYKcmyk(30%, 0%, 68.3%, 76.5%)
CIE-LABlab(22.90, -15.33, 22.53)
CIE-LCHlch(22.90, 27.25, 124.23°)
OKLaboklab(33.01% -0.0431 0.0524)
OKLCHoklch(33.01% 0.068 129.4)
XYZxyz(2.6882, 3.7709, 1.2022)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3C13 #25133C
analogous
#3C3913 #2A3C13 #153C13
triadic
#2A3C13 #132A3C #3C132A
tetradic
#2A3C13 #133C39 #25133C #3C1315
square
#2A3C13 #133C39 #25133C #3C1315
split-complementary
#2A3C13 #13153C #39133C
monochromatic
#101707 #101707 #2A3C13 #4B6A22 #6B9930

Accessibility & contrast

On white

11.97
#2A3C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3C13
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3C13#FFFFFF#000000##FFFFFF
##2A3C131.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370F
Deuteranopia (green-blind)
#3C3616
Tritanopia (blue-blind)
#2B3933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3c13;
/* rgb */ color: rgb(42, 60, 19);
/* oklch */ color: oklch(33.0% 0.068 129.4);
Tailwind
colors: {
  custom: {
    50: '#657152',
    500: '#2a3c13',
    950: '#000000',
  },
}
SCSS
$custom: #2a3c13;
$custom-light: #657152;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3c13",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 19
  },
  "hsl": {
    "h": 86.341,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.3301,
    "c": 0.06787,
    "h": 129.4
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#2A3C13
secondary
#523674
accent
#4CDB8B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A3C13

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

Preview Lab → · Contrast checker → · Palette generator →

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