#2A3714#2A3714

#2A3714 is a dark, muted yellow-green. Relative luminance 0.033; OKLCH L 31.6% C 0.058 H 126.5°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#2A3714
RGBrgb(42, 55, 20)
HSLhsl(82, 47%, 15%)
HSVhsv(82, 64%, 22%)
CMYKcmyk(23.6%, 0%, 63.6%, 78.4%)
CIE-LABlab(21.11, -12.33, 19.92)
CIE-LCHlch(21.11, 23.43, 121.75°)
OKLaboklab(31.57% -0.0347 0.0469)
OKLCHoklch(31.57% 0.058 126.5)
XYZxyz(2.4473, 3.2751, 1.1649)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3714 #211437
analogous
#373314 #2A3714 #183714
triadic
#2A3714 #142A37 #37142A
tetradic
#2A3714 #143733 #211437 #371418
square
#2A3714 #143733 #211437 #371418
split-complementary
#2A3714 #141837 #331437
monochromatic
#111608 #111608 #2A3714 #4C6424 #6F9135

Accessibility & contrast

On white

12.69
#2A3714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2A3714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3714
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3714#FFFFFF#000000##FFFFFF
##2A37141.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3311
Deuteranopia (green-blind)
#383316
Tritanopia (blue-blind)
#2C342F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a3714;
/* rgb */ color: rgb(42, 55, 20);
/* oklch */ color: oklch(31.6% 0.058 126.5);
Tailwind
colors: {
  custom: {
    50: '#646d52',
    500: '#2a3714',
    950: '#000000',
  },
}
SCSS
$custom: #2a3714;
$custom-light: #646d52;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3714",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 20
  },
  "hsl": {
    "h": 82.286,
    "s": 46.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.3157,
    "c": 0.05835,
    "h": 126.5
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#2A3714
secondary
#4C386F
accent
#51D683
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #2A3714

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

Preview Lab → · Contrast checker → · Palette generator →

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