#2A3D0A#2A3D0A

#2A3D0A is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.2% C 0.077 H 128.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#2A3D0A
RGBrgb(42, 61, 10)
HSLhsl(82, 72%, 14%)
HSVhsv(82, 84%, 24%)
CMYKcmyk(31.1%, 0%, 83.6%, 76.1%)
CIE-LABlab(23.17, -16.70, 27.23)
CIE-LCHlch(23.17, 31.95, 121.52°)
OKLaboklab(33.21% -0.0478 0.0609)
OKLCHoklch(33.21% 0.077 128.1)
XYZxyz(2.6784, 3.8516, 0.8894)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D0A #1D0A3D
analogous
#3D370A #2A3D0A #113D0A
triadic
#2A3D0A #0A2A3D #3D0A2A
tetradic
#2A3D0A #0A3D37 #1D0A3D #3D0A11
square
#2A3D0A #0A3D37 #1D0A3D #3D0A11
split-complementary
#2A3D0A #0A113D #370A3D
monochromatic
#121A04 #121A04 #2A3D0A #4E7213 #72A61B

Accessibility & contrast

On white

11.86
#2A3D0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A3D0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D0A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D0A#FFFFFF#000000##FFFFFF
##2A3D0A1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403803
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#2C3A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3d0a;
/* rgb */ color: rgb(42, 61, 10);
/* oklch */ color: oklch(33.2% 0.077 128.1);
Tailwind
colors: {
  custom: {
    50: '#66724d',
    500: '#2a3d0a',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d0a;
$custom-light: #66724d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d0a",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 10
  },
  "hsl": {
    "h": 82.353,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33206,
    "c": 0.07745,
    "h": 128.1
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#2A3D0A
secondary
#47287A
accent
#39EF7D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3D0A

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

Preview Lab → · Contrast checker → · Palette generator →

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