#2A3A05#2A3A05

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

Color values

HEX#2A3A05
RGBrgb(42, 58, 5)
HSLhsl(78, 84%, 12%)
HSVhsv(78, 91%, 23%)
CMYKcmyk(27.6%, 0%, 91.4%, 77.3%)
CIE-LABlab(22.05, -15.40, 28.10)
CIE-LCHlch(22.05, 32.05, 118.73°)
OKLaboklab(32.28% -0.0448 0.0624)
OKLCHoklch(32.28% 0.077 125.7)
XYZxyz(2.4953, 3.5293, 0.6933)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A05 #15053A
analogous
#3A3005 #2A3A05 #103A05
triadic
#2A3A05 #052A3A #3A052A
tetradic
#2A3A05 #053A30 #15053A #3A0510
square
#2A3A05 #053A30 #15053A #3A0510
split-complementary
#2A3A05 #05103A #30053A
monochromatic
#141C02 #141C02 #2A3A05 #53720A #7CAB0F

Accessibility & contrast

On white

12.31
#2A3A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3A05
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A05#FFFFFF#000000##FFFFFF
##2A3A051.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3C350A
Tritanopia (blue-blind)
#2C3730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a3a05;
/* rgb */ color: rgb(42, 58, 5);
/* oklch */ color: oklch(32.3% 0.077 125.7);
Tailwind
colors: {
  custom: {
    50: '#66704a',
    500: '#2a3a05',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a05;
$custom-light: #66704a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a05",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 78.113,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32281,
    "c": 0.07685,
    "h": 125.7
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#2A3A05
secondary
#3B207B
accent
#2DFA6B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3A05

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

Preview Lab → · Contrast checker → · Palette generator →

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