#2A3A09#2A3A09

#2A3A09 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.074 H 126.2°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#2A3A09
RGBrgb(42, 58, 9)
HSLhsl(80, 73%, 13%)
HSVhsv(80, 84%, 23%)
CMYKcmyk(27.6%, 0%, 84.5%, 77.3%)
CIE-LABlab(22.08, -15.11, 26.50)
CIE-LCHlch(22.08, 30.51, 119.68°)
OKLaboklab(32.32% -0.0435 0.0594)
OKLCHoklch(32.32% 0.074 126.2)
XYZxyz(2.5172, 3.5380, 0.8087)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A09 #19093A
analogous
#3A3109 #2A3A09 #113A09
triadic
#2A3A09 #092A3A #3A092A
tetradic
#2A3A09 #093A31 #19093A #3A0911
square
#2A3A09 #093A31 #19093A #3A0911
split-complementary
#2A3A09 #09113A #31093A
monochromatic
#131A04 #131A04 #2A3A09 #506F11 #77A419

Accessibility & contrast

On white

12.30
#2A3A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2A3A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A09
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A09#FFFFFF#000000##FFFFFF
##2A3A091.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3502
Deuteranopia (green-blind)
#3B350D
Tritanopia (blue-blind)
#2C3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a3a09;
/* rgb */ color: rgb(42, 58, 9);
/* oklch */ color: oklch(32.3% 0.074 126.2);
Tailwind
colors: {
  custom: {
    50: '#65704c',
    500: '#2a3a09',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a09;
$custom-light: #65704c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a09",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 9
  },
  "hsl": {
    "h": 79.592,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32316,
    "c": 0.07367,
    "h": 126.2
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#2A3A09
secondary
#412778
accent
#38F074
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3A09

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

Preview Lab → · Contrast checker → · Palette generator →

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