#2A370B#2A370B

#2A370B is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.5% C 0.067 H 124.5°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#2A370B
RGBrgb(42, 55, 11)
HSLhsl(78, 67%, 13%)
HSVhsv(78, 80%, 22%)
CMYKcmyk(23.6%, 0%, 80%, 78.4%)
CIE-LABlab(21.01, -13.23, 24.53)
CIE-LCHlch(21.01, 27.87, 118.35°)
OKLaboklab(31.46% -0.0382 0.0556)
OKLCHoklch(31.46% 0.067 124.5)
XYZxyz(2.3815, 3.2488, 0.8182)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A370B #180B37
analogous
#372E0B #2A370B #14370B
triadic
#2A370B #0B2A37 #370B2A
tetradic
#2A370B #0B372E #180B37 #370B14
square
#2A370B #0B372E #180B37 #370B14
split-complementary
#2A370B #0B1437 #2E0B37
monochromatic
#131A05 #131A05 #2A370B #516A15 #789D1F

Accessibility & contrast

On white

12.73
#2A370B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2A370B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A370B
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A370B#FFFFFF#000000##FFFFFF
##2A370B1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3305
Deuteranopia (green-blind)
#39320F
Tritanopia (blue-blind)
#2C342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a370b;
/* rgb */ color: rgb(42, 55, 11);
/* oklch */ color: oklch(31.5% 0.067 124.5);
Tailwind
colors: {
  custom: {
    50: '#656d4d',
    500: '#2a370b',
    950: '#000000',
  },
}
SCSS
$custom: #2a370b;
$custom-light: #656d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a370b",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 11
  },
  "hsl": {
    "h": 77.727,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31457,
    "c": 0.06747,
    "h": 124.5
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#2A370B
secondary
#402A74
accent
#3EEA71
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A370B

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

Preview Lab → · Contrast checker → · Palette generator →

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