#2B390C#2B390C

#2B390C is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.1% C 0.069 H 125.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#2B390C
RGBrgb(43, 57, 12)
HSLhsl(79, 65%, 14%)
HSVhsv(79, 79%, 22%)
CMYKcmyk(24.6%, 0%, 78.9%, 77.6%)
CIE-LABlab(21.82, -13.82, 24.98)
CIE-LCHlch(21.82, 28.55, 118.95°)
OKLaboklab(32.13% -0.0398 0.0566)
OKLCHoklch(32.13% 0.069 125.1)
XYZxyz(2.5258, 3.4664, 0.8838)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B390C #1A0C39
analogous
#39300C #2B390C #14390C
triadic
#2B390C #0C2B39 #390C2B
tetradic
#2B390C #0C3930 #1A0C39 #390C14
square
#2B390C #0C3930 #1A0C39 #390C14
split-complementary
#2B390C #0C1439 #300C39
monochromatic
#131905 #131905 #2B390C #516C17 #779E21

Accessibility & contrast

On white

12.40
#2B390C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B390C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B390C
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B390C#FFFFFF#000000##FFFFFF
##2B390C1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3506
Deuteranopia (green-blind)
#3B3410
Tritanopia (blue-blind)
#2D3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b390c;
/* rgb */ color: rgb(43, 57, 12);
/* oklch */ color: oklch(32.1% 0.069 125.1);
Tailwind
colors: {
  custom: {
    50: '#666f4e',
    500: '#2b390c',
    950: '#000000',
  },
}
SCSS
$custom: #2b390c;
$custom-light: #666f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b390c",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 12
  },
  "hsl": {
    "h": 78.667,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32134,
    "c": 0.06915,
    "h": 125.1
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#2B390C
secondary
#432C75
accent
#40E874
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B390C

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

Preview Lab → · Contrast checker → · Palette generator →

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