#2B3D0F#2B3D0F

#2B3D0F is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.073 H 128.2°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#2B3D0F
RGBrgb(43, 61, 15)
HSLhsl(83, 61%, 15%)
HSVhsv(83, 75%, 24%)
CMYKcmyk(29.5%, 0%, 75.4%, 76.1%)
CIE-LABlab(23.29, -15.83, 25.08)
CIE-LCHlch(23.29, 29.66, 122.26°)
OKLaboklab(33.33% -0.045 0.0572)
OKLCHoklch(33.33% 0.073 128.2)
XYZxyz(2.7512, 3.8855, 1.0569)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D0F #210F3D
analogous
#3D380F #2B3D0F #143D0F
triadic
#2B3D0F #0F2B3D #3D0F2B
tetradic
#2B3D0F #0F3D38 #210F3D #3D0F14
square
#2B3D0F #0F3D38 #210F3D #3D0F14
split-complementary
#2B3D0F #0F143D #380F3D
monochromatic
#111906 #111906 #2B3D0F #4E6E1B #709F27

Accessibility & contrast

On white

11.82
#2B3D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B3D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D0F
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D0F#FFFFFF#000000##FFFFFF
##2B3D0F1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403809
Deuteranopia (green-blind)
#3E3713
Tritanopia (blue-blind)
#2D3A34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3d0f;
/* rgb */ color: rgb(43, 61, 15);
/* oklch */ color: oklch(33.3% 0.073 128.2);
Tailwind
colors: {
  custom: {
    50: '#667250',
    500: '#2b3d0f',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d0f;
$custom-light: #667250;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d0f",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 15
  },
  "hsl": {
    "h": 83.478,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33331,
    "c": 0.07277,
    "h": 128.2
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#2B3D0F
secondary
#4C3077
accent
#44E483
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B3D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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