#2A3608#2A3608

#2A3608 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 31.1% C 0.068 H 123.3°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#2A3608
RGBrgb(42, 54, 8)
HSLhsl(76, 74%, 12%)
HSVhsv(76, 85%, 21%)
CMYKcmyk(22.2%, 0%, 85.2%, 78.8%)
CIE-LABlab(20.63, -12.88, 25.33)
CIE-LCHlch(20.63, 28.42, 116.95°)
OKLaboklab(31.14% -0.0376 0.0572)
OKLCHoklch(31.14% 0.068 123.3)
XYZxyz(2.3179, 3.1481, 0.7152)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3608 #140836
analogous
#362B08 #2A3608 #133608
triadic
#2A3608 #082A36 #36082A
tetradic
#2A3608 #08362B #140836 #360813
square
#2A3608 #08362B #140836 #360813
split-complementary
#2A3608 #081336 #2B0836
monochromatic
#151B04 #151B04 #2A3608 #536B10 #7DA118

Accessibility & contrast

On white

12.89
#2A3608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2A3608 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3608
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3608#FFFFFF#000000##FFFFFF
##2A36081.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3202
Deuteranopia (green-blind)
#38320C
Tritanopia (blue-blind)
#2D332D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3608;
/* rgb */ color: rgb(42, 54, 8);
/* oklch */ color: oklch(31.1% 0.068 123.3);
Tailwind
colors: {
  custom: {
    50: '#656d4b',
    500: '#2a3608',
    950: '#000000',
  },
}
SCSS
$custom: #2a3608;
$custom-light: #656d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3608",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 8
  },
  "hsl": {
    "h": 75.652,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31137,
    "c": 0.06846,
    "h": 123.3
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#2A3608
secondary
#3A2575
accent
#37F167
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3608

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

Preview Lab → · Contrast checker → · Palette generator →

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