#2A3607#2A3607

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

Color values

HEX#2A3607
RGBrgb(42, 54, 7)
HSLhsl(75, 77%, 12%)
HSVhsv(75, 87%, 21%)
CMYKcmyk(22.2%, 0%, 87%, 78.8%)
CIE-LABlab(20.62, -12.96, 25.73)
CIE-LCHlch(20.62, 28.81, 116.73°)
OKLaboklab(31.13% -0.0379 0.058)
OKLCHoklch(31.13% 0.069 123.1)
XYZxyz(2.3124, 3.1459, 0.6864)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3607 #130736
analogous
#362B07 #2A3607 #133607
triadic
#2A3607 #072A36 #36072A
tetradic
#2A3607 #07362B #130736 #360713
square
#2A3607 #07362B #130736 #360713
split-complementary
#2A3607 #071336 #2B0736
monochromatic
#151B04 #151B04 #2A3607 #546C0E #7EA215

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3607#FFFFFF#000000##FFFFFF
##2A36071.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)
#3A3201
Deuteranopia (green-blind)
#38320B
Tritanopia (blue-blind)
#2D332D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3607;
/* rgb */ color: rgb(42, 54, 7);
/* oklch */ color: oklch(31.1% 0.069 123.1);
Tailwind
colors: {
  custom: {
    50: '#656d4b',
    500: '#2a3607',
    950: '#000000',
  },
}
SCSS
$custom: #2a3607;
$custom-light: #656d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3607",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 7
  },
  "hsl": {
    "h": 75.319,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31127,
    "c": 0.06931,
    "h": 123.1
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#2A3607
secondary
#382376
accent
#34F465
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3607

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

Preview Lab → · Contrast checker → · Palette generator →

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