#2A3C16#2A3C16

#2A3C16 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.065 H 130.3°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#2A3C16
RGBrgb(42, 60, 22)
HSLhsl(88, 46%, 16%)
HSVhsv(88, 63%, 24%)
CMYKcmyk(30%, 0%, 63.3%, 76.5%)
CIE-LABlab(22.94, -14.98, 20.89)
CIE-LCHlch(22.94, 25.70, 125.64°)
OKLaboklab(33.05% -0.0418 0.0493)
OKLCHoklch(33.05% 0.065 130.3)
XYZxyz(2.7155, 3.7818, 1.3458)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3C16 #28163C
analogous
#3C3B16 #2A3C16 #173C16
triadic
#2A3C16 #162A3C #3C162A
tetradic
#2A3C16 #163C3B #28163C #3C1617
square
#2A3C16 #163C3B #28163C #3C1617
split-complementary
#2A3C16 #16173C #3B163C
monochromatic
#101608 #101608 #2A3C16 #496926 #699637

Accessibility & contrast

On white

11.96
#2A3C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2A3C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3C16
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3C16#FFFFFF#000000##FFFFFF
##2A3C161.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3812
Deuteranopia (green-blind)
#3C3619
Tritanopia (blue-blind)
#2B3934
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3c16;
/* rgb */ color: rgb(42, 60, 22);
/* oklch */ color: oklch(33.1% 0.065 130.3);
Tailwind
colors: {
  custom: {
    50: '#657154',
    500: '#2a3c16',
    950: '#000000',
  },
}
SCSS
$custom: #2a3c16;
$custom-light: #657154;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3c16",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 22
  },
  "hsl": {
    "h": 88.421,
    "s": 46.341,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33052,
    "c": 0.06462,
    "h": 130.3
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

primary
#2A3C16
secondary
#553B73
accent
#52D690
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050703
muted
#7A7A78

Preview Lab

Preview with #2A3C16

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

Preview Lab → · Contrast checker → · Palette generator →

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