#2A360D#2A360D

#2A360D is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.2% C 0.064 H 124.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#2A360D
RGBrgb(42, 54, 13)
HSLhsl(78, 61%, 13%)
HSVhsv(78, 76%, 21%)
CMYKcmyk(22.2%, 0%, 75.9%, 78.8%)
CIE-LABlab(20.67, -12.48, 23.24)
CIE-LCHlch(20.67, 26.38, 118.23°)
OKLaboklab(31.19% -0.0359 0.0531)
OKLCHoklch(31.19% 0.064 124)
XYZxyz(2.3467, 3.1596, 0.8669)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A360D #190D36
analogous
#362D0D #2A360D #15360D
triadic
#2A360D #0D2A36 #360D2A
tetradic
#2A360D #0D362D #190D36 #360D15
square
#2A360D #0D362D #190D36 #360D15
split-complementary
#2A360D #0D1536 #2D0D36
monochromatic
#131906 #131906 #2A360D #506719 #779925

Accessibility & contrast

On white

12.87
#2A360D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A360D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A360D#FFFFFF#000000##FFFFFF
##2A360D1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393208
Deuteranopia (green-blind)
#383210
Tritanopia (blue-blind)
#2C332E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a360d;
/* rgb */ color: rgb(42, 54, 13);
/* oklch */ color: oklch(31.2% 0.064 124.0);
Tailwind
colors: {
  custom: {
    50: '#656d4e',
    500: '#2a360d',
    950: '#000000',
  },
}
SCSS
$custom: #2a360d;
$custom-light: #656d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a360d",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 13
  },
  "hsl": {
    "h": 77.561,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31187,
    "c": 0.06411,
    "h": 124
  },
  "luminance": 0.0316
}

Semantic roles & 50–950 ramp

primary
#2A360D
secondary
#412D71
accent
#43E473
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A360D

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

Preview Lab → · Contrast checker → · Palette generator →

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