#2B370A#2B370A

#2B370A is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.5% C 0.068 H 123.3°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2B370A
RGBrgb(43, 55, 10)
HSLhsl(76, 69%, 13%)
HSVhsv(76, 82%, 22%)
CMYKcmyk(21.8%, 0%, 81.8%, 78.4%)
CIE-LABlab(21.09, -12.82, 25.05)
CIE-LCHlch(21.09, 28.14, 117.10°)
OKLaboklab(31.53% -0.0372 0.0566)
OKLCHoklch(31.53% 0.068 123.3)
XYZxyz(2.4173, 3.2679, 0.7905)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B370A #160A37
analogous
#372C0A #2B370A #14370A
triadic
#2B370A #0A2B37 #370A2B
tetradic
#2B370A #0A372C #160A37 #370A14
square
#2B370A #0A372C #160A37 #370A14
split-complementary
#2B370A #0A1437 #2C0A37
monochromatic
#141A05 #141A05 #2B370A #536B13 #7C9F1D

Accessibility & contrast

On white

12.70
#2B370A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B370A
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B370A#FFFFFF#000000##FFFFFF
##2B370A1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3304
Deuteranopia (green-blind)
#39330E
Tritanopia (blue-blind)
#2E342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b370a;
/* rgb */ color: rgb(43, 55, 10);
/* oklch */ color: oklch(31.5% 0.068 123.3);
Tailwind
colors: {
  custom: {
    50: '#666d4c',
    500: '#2b370a',
    950: '#000000',
  },
}
SCSS
$custom: #2b370a;
$custom-light: #666d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b370a",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 10
  },
  "hsl": {
    "h": 76,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31534,
    "c": 0.06775,
    "h": 123.3
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#2B370A
secondary
#3D2874
accent
#3CEC6B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B370A

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

Preview Lab → · Contrast checker → · Palette generator →

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