#2A3704#2A3704

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

Color values

HEX#2A3704
RGBrgb(42, 55, 4)
HSLhsl(75, 86%, 12%)
HSVhsv(75, 93%, 22%)
CMYKcmyk(23.6%, 0%, 92.7%, 78.4%)
CIE-LABlab(20.96, -13.77, 27.33)
CIE-LCHlch(20.96, 30.60, 116.75°)
OKLaboklab(31.39% -0.0405 0.0612)
OKLCHoklch(31.39% 0.073 123.5)
XYZxyz(2.3430, 3.2334, 0.6155)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3704 #110437
analogous
#372B04 #2A3704 #113704
triadic
#2A3704 #042A37 #37042A
tetradic
#2A3704 #04372B #110437 #370411
square
#2A3704 #04372B #110437 #370411
split-complementary
#2A3704 #041137 #2B0437
monochromatic
#161D02 #161D02 #2A3704 #567008 #81A90C

Accessibility & contrast

On white

12.75
#2A3704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3704
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3704#FFFFFF#000000##FFFFFF
##2A37041.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#393208
Tritanopia (blue-blind)
#2D342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3704;
/* rgb */ color: rgb(42, 55, 4);
/* oklch */ color: oklch(31.4% 0.073 123.5);
Tailwind
colors: {
  custom: {
    50: '#656d49',
    500: '#2a3704',
    950: '#000000',
  },
}
SCSS
$custom: #2a3704;
$custom-light: #656d49;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3704",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 4
  },
  "hsl": {
    "h": 75.294,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31391,
    "c": 0.07337,
    "h": 123.5
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#2A3704
secondary
#351E79
accent
#2BFD61
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3704

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

Preview Lab → · Contrast checker → · Palette generator →

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