#2A360F#2A360F

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

Color values

HEX#2A360F
RGBrgb(42, 54, 15)
HSLhsl(78, 57%, 14%)
HSVhsv(78, 72%, 21%)
CMYKcmyk(22.2%, 0%, 72.2%, 78.8%)
CIE-LABlab(20.69, -12.29, 22.26)
CIE-LCHlch(20.69, 25.42, 118.90°)
OKLaboklab(31.21% -0.0351 0.0513)
OKLCHoklch(31.21% 0.062 124.4)
XYZxyz(2.3602, 3.1650, 0.9384)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A360F #1B0F36
analogous
#362E0F #2A360F #16360F
triadic
#2A360F #0F2A36 #360F2A
tetradic
#2A360F #0F362E #1B0F36 #360F16
square
#2A360F #0F362E #1B0F36 #360F16
split-complementary
#2A360F #0F1636 #2E0F36
monochromatic
#131807 #131807 #2A360F #4F661C #75962A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A360F#FFFFFF#000000##FFFFFF
##2A360F1.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)
#39320A
Deuteranopia (green-blind)
#383212
Tritanopia (blue-blind)
#2C332E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a360f;
/* rgb */ color: rgb(42, 54, 15);
/* oklch */ color: oklch(31.2% 0.062 124.4);
Tailwind
colors: {
  custom: {
    50: '#656d4f',
    500: '#2a360f',
    950: '#000000',
  },
}
SCSS
$custom: #2a360f;
$custom-light: #656d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a360f",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 15
  },
  "hsl": {
    "h": 78.462,
    "s": 56.522,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31211,
    "c": 0.06214,
    "h": 124.4
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#2A360F
secondary
#443170
accent
#48E077
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A360F

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

Preview Lab → · Contrast checker → · Palette generator →

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