#2A3D13#2A3D13

#2A3D13 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.070 H 130.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2A3D13
RGBrgb(42, 61, 19)
HSLhsl(87, 53%, 16%)
HSVhsv(87, 69%, 24%)
CMYKcmyk(31.1%, 0%, 68.9%, 76.1%)
CIE-LABlab(23.26, -15.89, 22.94)
CIE-LCHlch(23.26, 27.90, 124.71°)
OKLaboklab(33.3% -0.0447 0.0533)
OKLCHoklch(33.3% 0.07 130)
XYZxyz(2.7411, 3.8767, 1.2198)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D13 #26133D
analogous
#3D3B13 #2A3D13 #153D13
triadic
#2A3D13 #132A3D #3D132A
tetradic
#2A3D13 #133D3B #26133D #3D1315
square
#2A3D13 #133D3B #26133D #3D1315
split-complementary
#2A3D13 #13153D #3B133D
monochromatic
#101707 #101707 #2A3D13 #4A6C22 #6A9A30

Accessibility & contrast

On white

11.83
#2A3D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2A3D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D13
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D13#FFFFFF#000000##FFFFFF
##2A3D131.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380E
Deuteranopia (green-blind)
#3D3716
Tritanopia (blue-blind)
#2B3A34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3d13;
/* rgb */ color: rgb(42, 61, 19);
/* oklch */ color: oklch(33.3% 0.070 130.0);
Tailwind
colors: {
  custom: {
    50: '#657252',
    500: '#2a3d13',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d13;
$custom-light: #657252;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d13",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 19
  },
  "hsl": {
    "h": 87.143,
    "s": 52.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33302,
    "c": 0.06952,
    "h": 130
  },
  "luminance": 0.03877
}

Semantic roles & 50–950 ramp

primary
#2A3D13
secondary
#533675
accent
#4CDC8D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A3D13

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

Preview Lab → · Contrast checker → · Palette generator →

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