#2A3A0A#2A3A0A

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

Color values

HEX#2A3A0A
RGBrgb(42, 58, 10)
HSLhsl(80, 71%, 13%)
HSVhsv(80, 83%, 23%)
CMYKcmyk(27.6%, 0%, 82.8%, 77.3%)
CIE-LABlab(22.09, -15.03, 26.11)
CIE-LCHlch(22.09, 30.12, 119.93°)
OKLaboklab(32.32% -0.0432 0.0587)
OKLCHoklch(32.32% 0.073 126.4)
XYZxyz(2.5227, 3.5402, 0.8375)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A0A #1A0A3A
analogous
#3A320A #2A3A0A #123A0A
triadic
#2A3A0A #0A2A3A #3A0A2A
tetradic
#2A3A0A #0A3A32 #1A0A3A #3A0A12
square
#2A3A0A #0A3A32 #1A0A3A #3A0A12
split-complementary
#2A3A0A #0A123A #320A3A
monochromatic
#131A05 #131A05 #2A3A0A #506E13 #76A21C

Accessibility & contrast

On white

12.30
#2A3A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3A0A
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A0A#FFFFFF#000000##FFFFFF
##2A3A0A1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3504
Deuteranopia (green-blind)
#3B350E
Tritanopia (blue-blind)
#2C3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a3a0a;
/* rgb */ color: rgb(42, 58, 10);
/* oklch */ color: oklch(32.3% 0.073 126.4);
Tailwind
colors: {
  custom: {
    50: '#65704d',
    500: '#2a3a0a',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a0a;
$custom-light: #65704d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a0a",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 10
  },
  "hsl": {
    "h": 80,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32325,
    "c": 0.07289,
    "h": 126.4
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#2A3A0A
secondary
#432877
accent
#3AED76
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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