#2A3910#2A3910

#2A3910 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.1% C 0.066 H 126.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2A3910
RGBrgb(42, 57, 16)
HSLhsl(82, 56%, 14%)
HSVhsv(82, 72%, 22%)
CMYKcmyk(26.3%, 0%, 71.9%, 77.6%)
CIE-LABlab(21.78, -13.94, 22.92)
CIE-LCHlch(21.78, 26.82, 121.31°)
OKLaboklab(32.1% -0.0396 0.0528)
OKLCHoklch(32.1% 0.066 126.9)
XYZxyz(2.5115, 3.4559, 1.0248)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3910 #1F1039
analogous
#393410 #2A3910 #163910
triadic
#2A3910 #102A39 #39102A
tetradic
#2A3910 #103934 #1F1039 #391016
square
#2A3910 #103934 #1F1039 #391016
split-complementary
#2A3910 #101639 #341039
monochromatic
#121807 #121807 #2A3910 #4D691D #70992B

Accessibility & contrast

On white

12.42
#2A3910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2A3910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3910
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3910#FFFFFF#000000##FFFFFF
##2A39101.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350B
Deuteranopia (green-blind)
#3A3413
Tritanopia (blue-blind)
#2C3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a3910;
/* rgb */ color: rgb(42, 57, 16);
/* oklch */ color: oklch(32.1% 0.066 126.9);
Tailwind
colors: {
  custom: {
    50: '#656f50',
    500: '#2a3910',
    950: '#000000',
  },
}
SCSS
$custom: #2a3910;
$custom-light: #656f50;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3910",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 16
  },
  "hsl": {
    "h": 81.951,
    "s": 56.164,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32096,
    "c": 0.066,
    "h": 126.9
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#2A3910
secondary
#4A3273
accent
#48DF80
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A3910

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

Preview Lab → · Contrast checker → · Palette generator →

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