#2A3412#2A3412

#2A3412 is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.7% C 0.056 H 123.3°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#2A3412
RGBrgb(42, 52, 18)
HSLhsl(78, 49%, 14%)
HSVhsv(78, 65%, 20%)
CMYKcmyk(19.2%, 0%, 65.4%, 79.6%)
CIE-LABlab(20.01, -10.77, 19.81)
CIE-LCHlch(20.01, 22.54, 118.53°)
OKLaboklab(30.67% -0.0305 0.0464)
OKLCHoklch(30.67% 0.056 123.3)
XYZxyz(2.2920, 2.9919, 1.0289)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3412 #1C1234
analogous
#342D12 #2A3412 #193412
triadic
#2A3412 #122A34 #34122A
tetradic
#2A3412 #12342D #1C1234 #341219
square
#2A3412 #12342D #1C1234 #341219
split-complementary
#2A3412 #121934 #2D1234
monochromatic
#121708 #121708 #2A3412 #4F6122 #738F31

Accessibility & contrast

On white

13.14
#2A3412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3412
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3412#FFFFFF#000000##FFFFFF
##2A34121.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37310F
Deuteranopia (green-blind)
#363014
Tritanopia (blue-blind)
#2C312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a3412;
/* rgb */ color: rgb(42, 52, 18);
/* oklch */ color: oklch(30.7% 0.056 123.3);
Tailwind
colors: {
  custom: {
    50: '#646b51',
    500: '#2a3412',
    950: '#000000',
  },
}
SCSS
$custom: #2a3412;
$custom-light: #646b51;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3412",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 18
  },
  "hsl": {
    "h": 77.647,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30673,
    "c": 0.05559,
    "h": 123.3
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#2A3412
secondary
#46356C
accent
#50D878
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2A3412

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

Preview Lab → · Contrast checker → · Palette generator →

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