#2A340A#2A340A

#2A340A is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.6% C 0.064 H 121.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#2A340A
RGBrgb(42, 52, 10)
HSLhsl(74, 68%, 12%)
HSVhsv(74, 81%, 20%)
CMYKcmyk(19.2%, 0%, 80.8%, 79.6%)
CIE-LABlab(19.92, -11.54, 23.73)
CIE-LCHlch(19.92, 26.39, 115.93°)
OKLaboklab(30.57% -0.0336 0.0541)
OKLCHoklch(30.57% 0.064 121.9)
XYZxyz(2.2377, 2.9701, 0.7425)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A340A #140A34
analogous
#34290A #2A340A #15340A
triadic
#2A340A #0A2A34 #340A2A
tetradic
#2A340A #0A3429 #140A34 #340A15
square
#2A340A #0A3429 #140A34 #340A15
split-complementary
#2A340A #0A1534 #290A34
monochromatic
#151A05 #151A05 #2A340A #536714 #7D9B1E

Accessibility & contrast

On white

13.17
#2A340A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2A340A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A340A
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A340A#FFFFFF#000000##FFFFFF
##2A340A1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383005
Deuteranopia (green-blind)
#36300D
Tritanopia (blue-blind)
#2D312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a340a;
/* rgb */ color: rgb(42, 52, 10);
/* oklch */ color: oklch(30.6% 0.064 121.9);
Tailwind
colors: {
  custom: {
    50: '#656b4c',
    500: '#2a340a',
    950: '#000000',
  },
}
SCSS
$custom: #2a340a;
$custom-light: #656b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a340a",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 74.286,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30574,
    "c": 0.06371,
    "h": 121.9
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#2A340A
secondary
#3A2871
accent
#3DEB66
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A340A

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

Preview Lab → · Contrast checker → · Palette generator →

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