#2A3E0D#2A3E0D

#2A3E0D is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.5% C 0.077 H 129.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#2A3E0D
RGBrgb(42, 62, 13)
HSLhsl(84, 65%, 15%)
HSVhsv(84, 79%, 24%)
CMYKcmyk(32.3%, 0%, 79%, 75.7%)
CIE-LABlab(23.56, -17.02, 26.30)
CIE-LCHlch(23.56, 31.33, 122.90°)
OKLaboklab(33.53% -0.0484 0.0595)
OKLCHoklch(33.53% 0.077 129.1)
XYZxyz(2.7501, 3.9665, 1.0014)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E0D #210D3E
analogous
#3E3A0D #2A3E0D #123E0D
triadic
#2A3E0D #0D2A3E #3E0D2A
tetradic
#2A3E0D #0D3E3A #210D3E #3E0D12
square
#2A3E0D #0D3E3A #210D3E #3E0D12
split-complementary
#2A3E0D #0D123E #3A0D3E
monochromatic
#111905 #111905 #2A3E0D #4C7118 #6FA322

Accessibility & contrast

On white

11.71
#2A3E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2A3E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E0D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E0D#FFFFFF#000000##FFFFFF
##2A3E0D1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413906
Deuteranopia (green-blind)
#3F3811
Tritanopia (blue-blind)
#2B3B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a3e0d;
/* rgb */ color: rgb(42, 62, 13);
/* oklch */ color: oklch(33.5% 0.077 129.1);
Tailwind
colors: {
  custom: {
    50: '#66734f',
    500: '#2a3e0d',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e0d;
$custom-light: #66734f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e0d",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 13
  },
  "hsl": {
    "h": 84.49,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33527,
    "c": 0.07666,
    "h": 129.1
  },
  "luminance": 0.03967
}

Semantic roles & 50–950 ramp

primary
#2A3E0D
secondary
#4C2D7A
accent
#40E884
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A3E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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