#2A3710#2A3710

#2A3710 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.5% C 0.063 H 125.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#2A3710
RGBrgb(42, 55, 16)
HSLhsl(80, 55%, 14%)
HSVhsv(80, 71%, 22%)
CMYKcmyk(23.6%, 0%, 70.9%, 78.4%)
CIE-LABlab(21.06, -12.77, 22.12)
CIE-LCHlch(21.06, 25.55, 120.00°)
OKLaboklab(31.51% -0.0364 0.0511)
OKLCHoklch(31.51% 0.063 125.4)
XYZxyz(2.4146, 3.2620, 0.9925)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3710 #1D1037
analogous
#373110 #2A3710 #173710
triadic
#2A3710 #102A37 #37102A
tetradic
#2A3710 #103731 #1D1037 #371017
square
#2A3710 #103731 #1D1037 #371017
split-complementary
#2A3710 #101737 #311037
monochromatic
#121807 #121807 #2A3710 #4E661E #72962C

Accessibility & contrast

On white

12.71
#2A3710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3710
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3710#FFFFFF#000000##FFFFFF
##2A37101.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330C
Deuteranopia (green-blind)
#383213
Tritanopia (blue-blind)
#2C342F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a3710;
/* rgb */ color: rgb(42, 55, 16);
/* oklch */ color: oklch(31.5% 0.063 125.4);
Tailwind
colors: {
  custom: {
    50: '#656d50',
    500: '#2a3710',
    950: '#000000',
  },
}
SCSS
$custom: #2a3710;
$custom-light: #656d50;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3710",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 16
  },
  "hsl": {
    "h": 80,
    "s": 54.93,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31514,
    "c": 0.06275,
    "h": 125.4
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#2A3710
secondary
#473271
accent
#4ADE7B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A3710

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

Preview Lab → · Contrast checker → · Palette generator →

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