#2A3909#2A3909

#2A3909 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.072 H 125.6°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#2A3909
RGBrgb(42, 57, 9)
HSLhsl(79, 73%, 13%)
HSVhsv(79, 84%, 22%)
CMYKcmyk(26.3%, 0%, 84.2%, 77.6%)
CIE-LABlab(21.72, -14.54, 26.12)
CIE-LCHlch(21.72, 29.89, 119.10°)
OKLaboklab(32.02% -0.042 0.0587)
OKLCHoklch(32.02% 0.072 125.6)
XYZxyz(2.4673, 3.4382, 0.7920)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3909 #180939
analogous
#393009 #2A3909 #123909
triadic
#2A3909 #092A39 #39092A
tetradic
#2A3909 #093930 #180939 #390912
square
#2A3909 #093930 #180939 #390912
split-complementary
#2A3909 #091239 #300939
monochromatic
#131A04 #131A04 #2A3909 #516E11 #78A31A

Accessibility & contrast

On white

12.44
#2A3909 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3909
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3909#FFFFFF#000000##FFFFFF
##2A39091.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3909;
/* rgb */ color: rgb(42, 57, 9);
/* oklch */ color: oklch(32.0% 0.072 125.6);
Tailwind
colors: {
  custom: {
    50: '#656f4c',
    500: '#2a3909',
    950: '#000000',
  },
}
SCSS
$custom: #2a3909;
$custom-light: #656f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3909",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 9
  },
  "hsl": {
    "h": 78.75,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32023,
    "c": 0.07215,
    "h": 125.6
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#2A3909
secondary
#402777
accent
#38EF72
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3909

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

Preview Lab → · Contrast checker → · Palette generator →

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