#2A3E0A#2A3E0A

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

Color values

HEX#2A3E0A
RGBrgb(42, 62, 10)
HSLhsl(83, 72%, 14%)
HSVhsv(83, 84%, 24%)
CMYKcmyk(32.3%, 0%, 83.9%, 75.7%)
CIE-LABlab(23.54, -17.25, 27.60)
CIE-LCHlch(23.54, 32.55, 122.00°)
OKLaboklab(33.5% -0.0493 0.0617)
OKLCHoklch(33.5% 0.079 128.6)
XYZxyz(2.7323, 3.9593, 0.9074)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E0A #1E0A3E
analogous
#3E380A #2A3E0A #103E0A
triadic
#2A3E0A #0A2A3E #3E0A2A
tetradic
#2A3E0A #0A3E38 #1E0A3E #3E0A10
square
#2A3E0A #0A3E38 #1E0A3E #3E0A10
split-complementary
#2A3E0A #0A103E #380A3E
monochromatic
#121A04 #121A04 #2A3E0A #4E7313 #71A71B

Accessibility & contrast

On white

11.72
#2A3E0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3E0A
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E0A#FFFFFF#000000##FFFFFF
##2A3E0A1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413903
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#2C3B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a3e0a;
/* rgb */ color: rgb(42, 62, 10);
/* oklch */ color: oklch(33.5% 0.079 128.6);
Tailwind
colors: {
  custom: {
    50: '#66734d',
    500: '#2a3e0a',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e0a;
$custom-light: #66734d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e0a",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 10
  },
  "hsl": {
    "h": 83.077,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.335,
    "c": 0.07895,
    "h": 128.6
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#2A3E0A
secondary
#48287B
accent
#39EF7F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3E0A

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

Preview Lab → · Contrast checker → · Palette generator →

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