#2A340B#2A340B

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

Color values

HEX#2A340B
RGBrgb(42, 52, 11)
HSLhsl(75, 65%, 12%)
HSVhsv(75, 79%, 20%)
CMYKcmyk(19.2%, 0%, 78.8%, 79.6%)
CIE-LABlab(19.93, -11.46, 23.32)
CIE-LCHlch(19.93, 25.99, 116.17°)
OKLaboklab(30.58% -0.0333 0.0533)
OKLCHoklch(30.58% 0.063 122)
XYZxyz(2.2433, 2.9724, 0.7721)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A340B #150B34
analogous
#342A0B #2A340B #16340B
triadic
#2A340B #0B2A34 #340B2A
tetradic
#2A340B #0B342A #150B34 #340B16
square
#2A340B #0B342A #150B34 #340B16
split-complementary
#2A340B #0B1634 #2A0B34
monochromatic
#141905 #141905 #2A340B #536716 #7C9920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A340B#FFFFFF#000000##FFFFFF
##2A340B1.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)
#383006
Deuteranopia (green-blind)
#36300E
Tritanopia (blue-blind)
#2D312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a340b;
/* rgb */ color: rgb(42, 52, 11);
/* oklch */ color: oklch(30.6% 0.063 122.0);
Tailwind
colors: {
  custom: {
    50: '#656b4d',
    500: '#2a340b',
    950: '#000000',
  },
}
SCSS
$custom: #2a340b;
$custom-light: #656b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a340b",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 74.634,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30584,
    "c": 0.06283,
    "h": 122
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#2A340B
secondary
#3B2A71
accent
#40E869
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A340B

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

Preview Lab → · Contrast checker → · Palette generator →

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