#2A360E#2A360E

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

Color values

HEX#2A360E
RGBrgb(42, 54, 14)
HSLhsl(78, 59%, 13%)
HSVhsv(78, 74%, 21%)
CMYKcmyk(22.2%, 0%, 74.1%, 78.8%)
CIE-LABlab(20.68, -12.38, 22.76)
CIE-LCHlch(20.68, 25.91, 118.55°)
OKLaboklab(31.2% -0.0355 0.0522)
OKLCHoklch(31.2% 0.063 124.2)
XYZxyz(2.3533, 3.1623, 0.9018)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A360E #1A0E36
analogous
#362E0E #2A360E #16360E
triadic
#2A360E #0E2A36 #360E2A
tetradic
#2A360E #0E362E #1A0E36 #360E16
square
#2A360E #0E362E #1A0E36 #360E16
split-complementary
#2A360E #0E1636 #2E0E36
monochromatic
#131806 #131806 #2A360E #50671B #769727

Accessibility & contrast

On white

12.86
#2A360E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A360E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A360E#FFFFFF#000000##FFFFFF
##2A360E1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a360e;
/* rgb */ color: rgb(42, 54, 14);
/* oklch */ color: oklch(31.2% 0.063 124.2);
Tailwind
colors: {
  custom: {
    50: '#656d4e',
    500: '#2a360e',
    950: '#000000',
  },
}
SCSS
$custom: #2a360e;
$custom-light: #656d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a360e",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 14
  },
  "hsl": {
    "h": 78,
    "s": 58.824,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31199,
    "c": 0.06314,
    "h": 124.2
  },
  "luminance": 0.03162
}

Semantic roles & 50–950 ramp

primary
#2A360E
secondary
#432F71
accent
#46E275
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A360E

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

Preview Lab → · Contrast checker → · Palette generator →

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