#2A3708#2A3708

#2A3708 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.4% C 0.070 H 124.1°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#2A3708
RGBrgb(42, 55, 8)
HSLhsl(77, 75%, 12%)
HSVhsv(77, 85%, 22%)
CMYKcmyk(23.6%, 0%, 85.5%, 78.4%)
CIE-LABlab(20.99, -13.46, 25.73)
CIE-LCHlch(20.99, 29.04, 117.62°)
OKLaboklab(31.43% -0.0392 0.058)
OKLCHoklch(31.43% 0.07 124.1)
XYZxyz(2.3649, 3.2421, 0.7309)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3708 #150837
analogous
#372D08 #2A3708 #123708
triadic
#2A3708 #082A37 #37082A
tetradic
#2A3708 #08372D #150837 #370812
square
#2A3708 #08372D #150837 #370812
split-complementary
#2A3708 #081237 #2D0837
monochromatic
#141B04 #141B04 #2A3708 #536C10 #7CA218

Accessibility & contrast

On white

12.74
#2A3708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2A3708 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3708
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3708#FFFFFF#000000##FFFFFF
##2A37081.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3302
Deuteranopia (green-blind)
#39320C
Tritanopia (blue-blind)
#2C342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3708;
/* rgb */ color: rgb(42, 55, 8);
/* oklch */ color: oklch(31.4% 0.070 124.1);
Tailwind
colors: {
  custom: {
    50: '#656d4b',
    500: '#2a3708',
    950: '#000000',
  },
}
SCSS
$custom: #2a3708;
$custom-light: #656d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3708",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 8
  },
  "hsl": {
    "h": 76.596,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31429,
    "c": 0.06995,
    "h": 124.1
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#2A3708
secondary
#3B2576
accent
#37F16A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3708

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

Preview Lab → · Contrast checker → · Palette generator →

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