#2A340E#2A340E

#2A340E is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.6% C 0.060 H 122.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#2A340E
RGBrgb(42, 52, 14)
HSLhsl(76, 58%, 13%)
HSVhsv(76, 73%, 20%)
CMYKcmyk(19.2%, 0%, 73.1%, 79.6%)
CIE-LABlab(19.96, -11.19, 21.96)
CIE-LCHlch(19.96, 24.64, 117.01°)
OKLaboklab(30.62% -0.0322 0.0506)
OKLCHoklch(30.62% 0.06 122.5)
XYZxyz(2.2621, 2.9799, 0.8714)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A340E #180E34
analogous
#342B0E #2A340E #17340E
triadic
#2A340E #0E2A34 #340E2A
tetradic
#2A340E #0E342B #180E34 #340E17
square
#2A340E #0E342B #180E34 #340E17
split-complementary
#2A340E #0E1734 #2B0E34
monochromatic
#131806 #131806 #2A340E #51641B #789428

Accessibility & contrast

On white

13.16
#2A340E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2A340E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A340E
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A340E#FFFFFF#000000##FFFFFF
##2A340E1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373009
Deuteranopia (green-blind)
#363011
Tritanopia (blue-blind)
#2C312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a340e;
/* rgb */ color: rgb(42, 52, 14);
/* oklch */ color: oklch(30.6% 0.060 122.5);
Tailwind
colors: {
  custom: {
    50: '#656b4e',
    500: '#2a340e',
    950: '#000000',
  },
}
SCSS
$custom: #2a340e;
$custom-light: #656b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a340e",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 75.789,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30619,
    "c": 0.05994,
    "h": 122.5
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#2A340E
secondary
#402F6F
accent
#47E16F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2A340E

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

Preview Lab → · Contrast checker → · Palette generator →

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