#2A3C09#2A3C09

#2A3C09 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.9% C 0.077 H 127.4°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#2A3C09
RGBrgb(42, 60, 9)
HSLhsl(81, 74%, 14%)
HSVhsv(81, 85%, 24%)
CMYKcmyk(30%, 0%, 85%, 76.5%)
CIE-LABlab(22.80, -16.22, 27.26)
CIE-LCHlch(22.80, 31.72, 120.76°)
OKLaboklab(32.9% -0.0466 0.0609)
OKLCHoklch(32.9% 0.077 127.4)
XYZxyz(2.6200, 3.7436, 0.8429)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3C09 #1B093C
analogous
#3C3409 #2A3C09 #103C09
triadic
#2A3C09 #092A3C #3C092A
tetradic
#2A3C09 #093C34 #1B093C #3C0910
square
#2A3C09 #093C34 #1B093C #3C0910
split-complementary
#2A3C09 #09103C #34093C
monochromatic
#131B04 #131B04 #2A3C09 #4F7111 #75A619

Accessibility & contrast

On white

12.01
#2A3C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2A3C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3C09
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3C09#FFFFFF#000000##FFFFFF
##2A3C091.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403702
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#2C3932
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3c09;
/* rgb */ color: rgb(42, 60, 9);
/* oklch */ color: oklch(32.9% 0.077 127.4);
Tailwind
colors: {
  custom: {
    50: '#66714c',
    500: '#2a3c09',
    950: '#000000',
  },
}
SCSS
$custom: #2a3c09;
$custom-light: #66714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3c09",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 9
  },
  "hsl": {
    "h": 81.176,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32903,
    "c": 0.07668,
    "h": 127.4
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#2A3C09
secondary
#44277A
accent
#37F179
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3C09

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

Preview Lab → · Contrast checker → · Palette generator →

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