#2A3B05#2A3B05

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

Color values

HEX#2A3B05
RGBrgb(42, 59, 5)
HSLhsl(79, 84%, 13%)
HSVhsv(79, 92%, 23%)
CMYKcmyk(28.8%, 0%, 91.5%, 76.9%)
CIE-LABlab(22.41, -15.96, 28.48)
CIE-LCHlch(22.41, 32.65, 119.27°)
OKLaboklab(32.57% -0.0463 0.0631)
OKLCHoklch(32.57% 0.078 126.3)
XYZxyz(2.5462, 3.6311, 0.7103)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B05 #16053B
analogous
#3B3105 #2A3B05 #0F3B05
triadic
#2A3B05 #052A3B #3B052A
tetradic
#2A3B05 #053B31 #16053B #3B050F
square
#2A3B05 #053B31 #16053B #3B050F
split-complementary
#2A3B05 #050F3B #31053B
monochromatic
#141C02 #141C02 #2A3B05 #52730A #7AAC0F

Accessibility & contrast

On white

12.17
#2A3B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3B05
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B05#FFFFFF#000000##FFFFFF
##2A3B051.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3b05;
/* rgb */ color: rgb(42, 59, 5);
/* oklch */ color: oklch(32.6% 0.078 126.3);
Tailwind
colors: {
  custom: {
    50: '#66714a',
    500: '#2a3b05',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b05;
$custom-light: #66714a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b05",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 5
  },
  "hsl": {
    "h": 78.889,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32575,
    "c": 0.07829,
    "h": 126.3
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#2A3B05
secondary
#3D207C
accent
#2DFB6E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3B05

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

Preview Lab → · Contrast checker → · Palette generator →

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