#2A3B04#2A3B04

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

Color values

HEX#2A3B04
RGBrgb(42, 59, 4)
HSLhsl(79, 87%, 12%)
HSVhsv(79, 93%, 23%)
CMYKcmyk(28.8%, 0%, 93.2%, 76.9%)
CIE-LABlab(22.40, -16.04, 28.88)
CIE-LCHlch(22.40, 33.04, 119.04°)
OKLaboklab(32.57% -0.0466 0.0639)
OKLCHoklch(32.57% 0.079 126.1)
XYZxyz(2.5407, 3.6289, 0.6814)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B04 #15043B
analogous
#3B3004 #2A3B04 #0F3B04
triadic
#2A3B04 #042A3B #3B042A
tetradic
#2A3B04 #043B30 #15043B #3B040F
square
#2A3B04 #043B30 #15043B #3B040F
split-complementary
#2A3B04 #040F3B #30043B
monochromatic
#141D02 #141D02 #2A3B04 #537408 #7CAE0C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3B04#FFFFFF#000000##FFFFFF
##2A3B041.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)
#3C3509
Tritanopia (blue-blind)
#2C3831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3b04;
/* rgb */ color: rgb(42, 59, 4);
/* oklch */ color: oklch(32.6% 0.079 126.1);
Tailwind
colors: {
  custom: {
    50: '#66714a',
    500: '#2a3b04',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b04;
$custom-light: #66714a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b04",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 78.545,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32566,
    "c": 0.07909,
    "h": 126.1
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#2A3B04
secondary
#3B1E7D
accent
#2AFD6C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3B04

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

Preview Lab → · Contrast checker → · Palette generator →

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