#2A340F#2A340F

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

Color values

HEX#2A340F
RGBrgb(42, 52, 15)
HSLhsl(76, 55%, 13%)
HSVhsv(76, 71%, 20%)
CMYKcmyk(19.2%, 0%, 71.2%, 79.6%)
CIE-LABlab(19.97, -11.09, 21.45)
CIE-LCHlch(19.97, 24.15, 117.34°)
OKLaboklab(30.63% -0.0318 0.0496)
OKLCHoklch(30.63% 0.059 122.7)
XYZxyz(2.2691, 2.9827, 0.9080)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A340F #190F34
analogous
#342B0F #2A340F #17340F
triadic
#2A340F #0F2A34 #340F2A
tetradic
#2A340F #0F342B #190F34 #340F17
square
#2A340F #0F342B #190F34 #340F17
split-complementary
#2A340F #0F1734 #2B0F34
monochromatic
#131807 #131807 #2A340F #50631D #77932A

Accessibility & contrast

On white

13.15
#2A340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A340F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A340F#FFFFFF#000000##FFFFFF
##2A340F1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300B
Deuteranopia (green-blind)
#363012
Tritanopia (blue-blind)
#2C312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a340f;
/* rgb */ color: rgb(42, 52, 15);
/* oklch */ color: oklch(30.6% 0.059 122.7);
Tailwind
colors: {
  custom: {
    50: '#656b4f',
    500: '#2a340f',
    950: '#000000',
  },
}
SCSS
$custom: #2a340f;
$custom-light: #656b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a340f",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 76.216,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30631,
    "c": 0.0589,
    "h": 122.7
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#2A340F
secondary
#41316E
accent
#49DF72
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2A340F

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

Preview Lab → · Contrast checker → · Palette generator →

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