#2A360B#2A360B

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

Color values

HEX#2A360B
RGBrgb(42, 54, 11)
HSLhsl(77, 66%, 13%)
HSVhsv(77, 80%, 21%)
CMYKcmyk(22.2%, 0%, 79.6%, 78.8%)
CIE-LABlab(20.65, -12.65, 24.13)
CIE-LCHlch(20.65, 27.24, 117.66°)
OKLaboklab(31.17% -0.0366 0.0548)
OKLCHoklch(31.17% 0.066 123.7)
XYZxyz(2.3344, 3.1547, 0.8025)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A360B #170B36
analogous
#362C0B #2A360B #14360B
triadic
#2A360B #0B2A36 #360B2A
tetradic
#2A360B #0B362C #170B36 #360B14
square
#2A360B #0B362C #170B36 #360B14
split-complementary
#2A360B #0B1436 #2C0B36
monochromatic
#141905 #141905 #2A360B #526915 #799C20

Accessibility & contrast

On white

12.88
#2A360B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A360B
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A360B#FFFFFF#000000##FFFFFF
##2A360B1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3205
Deuteranopia (green-blind)
#38320E
Tritanopia (blue-blind)
#2C332D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a360b;
/* rgb */ color: rgb(42, 54, 11);
/* oklch */ color: oklch(31.2% 0.066 123.7);
Tailwind
colors: {
  custom: {
    50: '#656d4d',
    500: '#2a360b',
    950: '#000000',
  },
}
SCSS
$custom: #2a360b;
$custom-light: #656d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a360b",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 11
  },
  "hsl": {
    "h": 76.744,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31166,
    "c": 0.06592,
    "h": 123.7
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#2A360B
secondary
#3E2A73
accent
#3FE96E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A360B

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

Preview Lab → · Contrast checker → · Palette generator →

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