#2A3A0D#2A3A0D

#2A3A0D is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.4% C 0.070 H 126.9°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2A3A0D
RGBrgb(42, 58, 13)
HSLhsl(81, 63%, 14%)
HSVhsv(81, 78%, 23%)
CMYKcmyk(27.6%, 0%, 77.6%, 77.3%)
CIE-LABlab(22.11, -14.79, 24.80)
CIE-LCHlch(22.11, 28.88, 120.81°)
OKLaboklab(32.35% -0.0423 0.0563)
OKLCHoklch(32.35% 0.07 126.9)
XYZxyz(2.5406, 3.5474, 0.9316)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A0D #1D0D3A
analogous
#3A340D #2A3A0D #143A0D
triadic
#2A3A0D #0D2A3A #3A0D2A
tetradic
#2A3A0D #0D3A34 #1D0D3A #3A0D14
square
#2A3A0D #0D3A34 #1D0D3A #3A0D14
split-complementary
#2A3A0D #0D143A #340D3A
monochromatic
#121906 #121906 #2A3A0D #4E6C18 #729E23

Accessibility & contrast

On white

12.29
#2A3A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3A0D
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A0D#FFFFFF#000000##FFFFFF
##2A3A0D1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3a0d;
/* rgb */ color: rgb(42, 58, 13);
/* oklch */ color: oklch(32.4% 0.070 126.9);
Tailwind
colors: {
  custom: {
    50: '#65704e',
    500: '#2a3a0d',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a0d;
$custom-light: #65704e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a0d",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 13
  },
  "hsl": {
    "h": 81.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32354,
    "c": 0.07042,
    "h": 126.9
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#2A3A0D
secondary
#472D76
accent
#41E67C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A3A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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