#2A3C06#2A3C06

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

Color values

HEX#2A3C06
RGBrgb(42, 60, 6)
HSLhsl(80, 82%, 13%)
HSVhsv(80, 90%, 24%)
CMYKcmyk(30%, 0%, 90%, 76.5%)
CIE-LABlab(22.78, -16.44, 28.46)
CIE-LCHlch(22.78, 32.87, 120.02°)
OKLaboklab(32.88% -0.0475 0.0631)
OKLCHoklch(32.88% 0.079 127)
XYZxyz(2.6036, 3.7371, 0.7564)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3C06 #18063C
analogous
#3C3306 #2A3C06 #0F3C06
triadic
#2A3C06 #062A3C #3C062A
tetradic
#2A3C06 #063C33 #18063C #3C060F
square
#2A3C06 #063C33 #18063C #3C060F
split-complementary
#2A3C06 #060F3C #33063C
monochromatic
#131C03 #131C03 #2A3C06 #51740C #78AB11

Accessibility & contrast

On white

12.02
#2A3C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3C06
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3C06#FFFFFF#000000##FFFFFF
##2A3C061.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3c06;
/* rgb */ color: rgb(42, 60, 6);
/* oklch */ color: oklch(32.9% 0.079 127.0);
Tailwind
colors: {
  custom: {
    50: '#66714b',
    500: '#2a3c06',
    950: '#000000',
  },
}
SCSS
$custom: #2a3c06;
$custom-light: #66714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3c06",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 80,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32878,
    "c": 0.07896,
    "h": 127
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#2A3C06
secondary
#40227C
accent
#30F872
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3C06

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

Preview Lab → · Contrast checker → · Palette generator →

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