#2B340A#2B340A

#2B340A is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.7% C 0.063 H 120.7°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#2B340A
RGBrgb(43, 52, 10)
HSLhsl(73, 68%, 12%)
HSVhsv(73, 81%, 20%)
CMYKcmyk(17.3%, 0%, 80.8%, 79.6%)
CIE-LABlab(20.01, -11.03, 23.85)
CIE-LCHlch(20.01, 26.28, 114.82°)
OKLaboklab(30.67% -0.0323 0.0543)
OKLCHoklch(30.67% 0.063 120.7)
XYZxyz(2.2791, 2.9915, 0.7445)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B340A #130A34
analogous
#34280A #2B340A #16340A
triadic
#2B340A #0A2B34 #340A2B
tetradic
#2B340A #0A3428 #130A34 #340A16
square
#2B340A #0A3428 #130A34 #340A16
split-complementary
#2B340A #0A1634 #280A34
monochromatic
#151A05 #151A05 #2B340A #556714 #809B1E

Accessibility & contrast

On white

13.14
#2B340A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2B340A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B340A
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B340A#FFFFFF#000000##FFFFFF
##2B340A1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383005
Deuteranopia (green-blind)
#37300D
Tritanopia (blue-blind)
#2E312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b340a;
/* rgb */ color: rgb(43, 52, 10);
/* oklch */ color: oklch(30.7% 0.063 120.7);
Tailwind
colors: {
  custom: {
    50: '#666b4c',
    500: '#2b340a',
    950: '#000000',
  },
}
SCSS
$custom: #2b340a;
$custom-light: #666b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b340a",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 72.857,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30665,
    "c": 0.0632,
    "h": 120.7
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#2B340A
secondary
#382871
accent
#3DEB62
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B340A

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

Preview Lab → · Contrast checker → · Palette generator →

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