#2B3E0C#2B3E0C

#2B3E0C is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.077 H 128.2°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2B3E0C
RGBrgb(43, 62, 12)
HSLhsl(83, 68%, 15%)
HSVhsv(83, 81%, 24%)
CMYKcmyk(30.6%, 0%, 80.6%, 75.7%)
CIE-LABlab(23.62, -16.64, 26.85)
CIE-LCHlch(23.62, 31.59, 121.78°)
OKLaboklab(33.59% -0.0475 0.0604)
OKLCHoklch(33.59% 0.077 128.2)
XYZxyz(2.7852, 3.9853, 0.9703)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E0C #1F0C3E
analogous
#3E380C #2B3E0C #123E0C
triadic
#2B3E0C #0C2B3E #3E0C2B
tetradic
#2B3E0C #0C3E38 #1F0C3E #3E0C12
square
#2B3E0C #0C3E38 #1F0C3E #3E0C12
split-complementary
#2B3E0C #0C123E #380C3E
monochromatic
#121A05 #121A05 #2B3E0C #4F7116 #72A520

Accessibility & contrast

On white

11.69
#2B3E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B3E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E0C
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E0C#FFFFFF#000000##FFFFFF
##2B3E0C1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413905
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#2D3B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b3e0c;
/* rgb */ color: rgb(43, 62, 12);
/* oklch */ color: oklch(33.6% 0.077 128.2);
Tailwind
colors: {
  custom: {
    50: '#66734e',
    500: '#2b3e0c',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e0c;
$custom-light: #66734e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e0c",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 12
  },
  "hsl": {
    "h": 82.8,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33594,
    "c": 0.07685,
    "h": 128.2
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#2B3E0C
secondary
#492C7A
accent
#3DEA7F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B3E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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