#2A340D#2A340D

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

Color values

HEX#2A340D
RGBrgb(42, 52, 13)
HSLhsl(75, 60%, 13%)
HSVhsv(75, 75%, 20%)
CMYKcmyk(19.2%, 0%, 75%, 79.6%)
CIE-LABlab(19.95, -11.29, 22.44)
CIE-LCHlch(19.95, 25.12, 116.70°)
OKLaboklab(30.61% -0.0326 0.0515)
OKLCHoklch(30.61% 0.061 122.3)
XYZxyz(2.2555, 2.9773, 0.8365)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A340D #170D34
analogous
#342A0D #2A340D #16340D
triadic
#2A340D #0D2A34 #340D2A
tetradic
#2A340D #0D342A #170D34 #340D16
square
#2A340D #0D342A #170D34 #340D16
split-complementary
#2A340D #0D1634 #2A0D34
monochromatic
#141806 #141806 #2A340D #526519 #799625

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A340D#FFFFFF#000000##FFFFFF
##2A340D1.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)
#373008
Deuteranopia (green-blind)
#363010
Tritanopia (blue-blind)
#2D312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a340d;
/* rgb */ color: rgb(42, 52, 13);
/* oklch */ color: oklch(30.6% 0.061 122.3);
Tailwind
colors: {
  custom: {
    50: '#656b4e',
    500: '#2a340d',
    950: '#000000',
  },
}
SCSS
$custom: #2a340d;
$custom-light: #656b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a340d",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 75.385,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30607,
    "c": 0.06095,
    "h": 122.3
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#2A340D
secondary
#3E2D6F
accent
#45E36D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A340D

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

Preview Lab → · Contrast checker → · Palette generator →

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