#2A3F0A#2A3F0A

#2A3F0A is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.8% C 0.080 H 129.1°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2A3F0A
RGBrgb(42, 63, 10)
HSLhsl(84, 73%, 14%)
HSVhsv(84, 84%, 25%)
CMYKcmyk(33.3%, 0%, 84.1%, 75.3%)
CIE-LABlab(23.90, -17.79, 27.96)
CIE-LCHlch(23.90, 33.14, 122.47°)
OKLaboklab(33.79% -0.0508 0.0624)
OKLCHoklch(33.79% 0.08 129.1)
XYZxyz(2.7871, 4.0691, 0.9257)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3F0A #1F0A3F
analogous
#3F3A0A #2A3F0A #0F3F0A
triadic
#2A3F0A #0A2A3F #3F0A2A
tetradic
#2A3F0A #0A3F3A #1F0A3F #3F0A0F
square
#2A3F0A #0A3F3A #1F0A3F #3F0A0F
split-complementary
#2A3F0A #0A0F3F #3A0A3F
monochromatic
#121A04 #121A04 #2A3F0A #4D7412 #70A91B

Accessibility & contrast

On white

11.58
#2A3F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2A3F0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3F0A
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3F0A#FFFFFF#000000##FFFFFF
##2A3F0A1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A02
Deuteranopia (green-blind)
#40380F
Tritanopia (blue-blind)
#2C3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a3f0a;
/* rgb */ color: rgb(42, 63, 10);
/* oklch */ color: oklch(33.8% 0.080 129.1);
Tailwind
colors: {
  custom: {
    50: '#66744d',
    500: '#2a3f0a',
    950: '#000000',
  },
}
SCSS
$custom: #2a3f0a;
$custom-light: #66744d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3f0a",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 10
  },
  "hsl": {
    "h": 83.774,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33794,
    "c": 0.08045,
    "h": 129.1
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#2A3F0A
secondary
#4A297C
accent
#38EF81
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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