#2A3707#2A3707

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

Color values

HEX#2A3707
RGBrgb(42, 55, 7)
HSLhsl(76, 77%, 12%)
HSVhsv(76, 87%, 22%)
CMYKcmyk(23.6%, 0%, 87.3%, 78.4%)
CIE-LABlab(20.98, -13.54, 26.13)
CIE-LCHlch(20.98, 29.43, 117.39°)
OKLaboklab(31.42% -0.0395 0.0588)
OKLCHoklch(31.42% 0.071 123.9)
XYZxyz(2.3594, 3.2399, 0.7020)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3707 #140737
analogous
#372C07 #2A3707 #123707
triadic
#2A3707 #072A37 #37072A
tetradic
#2A3707 #07372C #140737 #370712
square
#2A3707 #07372C #140737 #370712
split-complementary
#2A3707 #071237 #2C0737
monochromatic
#151B03 #151B03 #2A3707 #536D0E #7DA415

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3707#FFFFFF#000000##FFFFFF
##2A37071.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)
#3B3301
Deuteranopia (green-blind)
#39320B
Tritanopia (blue-blind)
#2D342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3707;
/* rgb */ color: rgb(42, 55, 7);
/* oklch */ color: oklch(31.4% 0.071 123.9);
Tailwind
colors: {
  custom: {
    50: '#656d4b',
    500: '#2a3707',
    950: '#000000',
  },
}
SCSS
$custom: #2a3707;
$custom-light: #656d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3707",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 7
  },
  "hsl": {
    "h": 76.25,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31419,
    "c": 0.07079,
    "h": 123.9
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#2A3707
secondary
#3A2377
accent
#34F468
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3707

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

Preview Lab → · Contrast checker → · Palette generator →

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