#2A3905#2A3905

#2A3905 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.075 H 125.0°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#2A3905
RGBrgb(42, 57, 5)
HSLhsl(77, 84%, 12%)
HSVhsv(77, 91%, 22%)
CMYKcmyk(26.3%, 0%, 91.2%, 77.6%)
CIE-LABlab(21.69, -14.84, 27.71)
CIE-LCHlch(21.69, 31.44, 118.17°)
OKLaboklab(31.99% -0.0433 0.0617)
OKLCHoklch(31.99% 0.075 125)
XYZxyz(2.4454, 3.4294, 0.6767)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3905 #140539
analogous
#392E05 #2A3905 #103905
triadic
#2A3905 #052A39 #39052A
tetradic
#2A3905 #05392E #140539 #390510
square
#2A3905 #05392E #140539 #390510
split-complementary
#2A3905 #051039 #2E0539
monochromatic
#151C02 #151C02 #2A3905 #53710A #7DAA0F

Accessibility & contrast

On white

12.46
#2A3905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2A3905 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3905
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3905#FFFFFF#000000##FFFFFF
##2A39051.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3B340A
Tritanopia (blue-blind)
#2C362F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a3905;
/* rgb */ color: rgb(42, 57, 5);
/* oklch */ color: oklch(32.0% 0.075 125.0);
Tailwind
colors: {
  custom: {
    50: '#666f4a',
    500: '#2a3905',
    950: '#000000',
  },
}
SCSS
$custom: #2a3905;
$custom-light: #666f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3905",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 5
  },
  "hsl": {
    "h": 77.308,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31987,
    "c": 0.0754,
    "h": 125
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#2A3905
secondary
#3A207A
accent
#2EFA69
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3905

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

Preview Lab → · Contrast checker → · Palette generator →

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