#2A3B09#2A3B09

#2A3B09 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.075 H 126.8°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2A3B09
RGBrgb(42, 59, 9)
HSLhsl(80, 74%, 13%)
HSVhsv(80, 85%, 23%)
CMYKcmyk(28.8%, 0%, 84.7%, 76.9%)
CIE-LABlab(22.44, -15.67, 26.89)
CIE-LCHlch(22.44, 31.12, 120.23°)
OKLaboklab(32.61% -0.0451 0.0602)
OKLCHoklch(32.61% 0.075 126.8)
XYZxyz(2.5681, 3.6398, 0.8256)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B09 #1A093B
analogous
#3B3309 #2A3B09 #113B09
triadic
#2A3B09 #092A3B #3B092A
tetradic
#2A3B09 #093B33 #1A093B #3B0911
square
#2A3B09 #093B33 #1A093B #3B0911
split-complementary
#2A3B09 #09113B #33093B
monochromatic
#131B04 #131B04 #2A3B09 #507011 #76A519

Accessibility & contrast

On white

12.15
#2A3B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2A3B09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3B09
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B09#FFFFFF#000000##FFFFFF
##2A3B091.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3602
Deuteranopia (green-blind)
#3C350E
Tritanopia (blue-blind)
#2C3831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3b09;
/* rgb */ color: rgb(42, 59, 9);
/* oklch */ color: oklch(32.6% 0.075 126.8);
Tailwind
colors: {
  custom: {
    50: '#66714c',
    500: '#2a3b09',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b09;
$custom-light: #66714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b09",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 9
  },
  "hsl": {
    "h": 80.4,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.3261,
    "c": 0.07518,
    "h": 126.8
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#2A3B09
secondary
#432779
accent
#38F076
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3B09

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

Preview Lab → · Contrast checker → · Palette generator →

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