#2B3F0D#2B3F0D

#2B3F0D is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.078 H 128.9°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#2B3F0D
RGBrgb(43, 63, 13)
HSLhsl(84, 66%, 15%)
HSVhsv(84, 79%, 25%)
CMYKcmyk(31.7%, 0%, 79.4%, 75.3%)
CIE-LABlab(23.99, -17.11, 26.77)
CIE-LCHlch(23.99, 31.77, 122.58°)
OKLaboklab(33.9% -0.0487 0.0604)
OKLCHoklch(33.9% 0.078 128.9)
XYZxyz(2.8464, 4.0976, 1.0216)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F0D #210D3F
analogous
#3F3A0D #2B3F0D #123F0D
triadic
#2B3F0D #0D2B3F #3F0D2B
tetradic
#2B3F0D #0D3F3A #210D3F #3F0D12
square
#2B3F0D #0D3F3A #210D3F #3F0D12
split-complementary
#2B3F0D #0D123F #3A0D3F
monochromatic
#111905 #111905 #2B3F0D #4E7217 #70A422

Accessibility & contrast

On white

11.54
#2B3F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B3F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F0D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F0D#FFFFFF#000000##FFFFFF
##2B3F0D1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A06
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#2D3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3f0d;
/* rgb */ color: rgb(43, 63, 13);
/* oklch */ color: oklch(33.9% 0.078 128.9);
Tailwind
colors: {
  custom: {
    50: '#66744f',
    500: '#2b3f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f0d;
$custom-light: #66744f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f0d",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 13
  },
  "hsl": {
    "h": 84,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33896,
    "c": 0.07759,
    "h": 128.9
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#2B3F0D
secondary
#4C2D7B
accent
#3FE983
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B3F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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