#2A3907#2A3907

#2A3907 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.074 H 125.3°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#2A3907
RGBrgb(42, 57, 7)
HSLhsl(78, 78%, 13%)
HSVhsv(78, 88%, 22%)
CMYKcmyk(26.3%, 0%, 87.7%, 77.6%)
CIE-LABlab(21.70, -14.69, 26.92)
CIE-LCHlch(21.70, 30.66, 118.62°)
OKLaboklab(32.01% -0.0426 0.0602)
OKLCHoklch(32.01% 0.074 125.3)
XYZxyz(2.4563, 3.4338, 0.7344)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3907 #160739
analogous
#392F07 #2A3907 #113907
triadic
#2A3907 #072A39 #39072A
tetradic
#2A3907 #07392F #160739 #390711
square
#2A3907 #07392F #160739 #390711
split-complementary
#2A3907 #071139 #2F0739
monochromatic
#141B03 #141B03 #2A3907 #52700E #7AA614

Accessibility & contrast

On white

12.45
#2A3907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2A3907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3907
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3907#FFFFFF#000000##FFFFFF
##2A39071.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3501
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#2C3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a3907;
/* rgb */ color: rgb(42, 57, 7);
/* oklch */ color: oklch(32.0% 0.074 125.3);
Tailwind
colors: {
  custom: {
    50: '#656f4b',
    500: '#2a3907',
    950: '#000000',
  },
}
SCSS
$custom: #2a3907;
$custom-light: #656f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3907",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 7
  },
  "hsl": {
    "h": 78,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32005,
    "c": 0.07376,
    "h": 125.3
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#2A3907
secondary
#3D2379
accent
#33F56D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3907

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

Preview Lab → · Contrast checker → · Palette generator →

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