#2B3F06#2B3F06

#2B3F06 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.8% C 0.083 H 127.8°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#2B3F06
RGBrgb(43, 63, 6)
HSLhsl(81, 83%, 14%)
HSVhsv(81, 90%, 25%)
CMYKcmyk(31.7%, 0%, 90.5%, 75.3%)
CIE-LABlab(23.94, -17.61, 29.66)
CIE-LCHlch(23.94, 34.49, 120.70°)
OKLaboklab(33.84% -0.0508 0.0653)
OKLCHoklch(33.84% 0.083 127.8)
XYZxyz(2.8066, 4.0817, 0.8122)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F06 #1A063F
analogous
#3F3606 #2B3F06 #0E3F06
triadic
#2B3F06 #062B3F #3F062B
tetradic
#2B3F06 #063F36 #1A063F #3F060E
square
#2B3F06 #063F36 #1A063F #3F060E
split-complementary
#2B3F06 #060E3F #36063F
monochromatic
#131C03 #131C03 #2B3F06 #51770B #77AF11

Accessibility & contrast

On white

11.56
#2B3F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3F06
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F06#FFFFFF#000000##FFFFFF
##2B3F061.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#40390C
Tritanopia (blue-blind)
#2D3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3f06;
/* rgb */ color: rgb(43, 63, 6);
/* oklch */ color: oklch(33.8% 0.083 127.8);
Tailwind
colors: {
  custom: {
    50: '#67744b',
    500: '#2b3f06',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f06;
$custom-light: #67744b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f06",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 6
  },
  "hsl": {
    "h": 81.053,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33837,
    "c": 0.08272,
    "h": 127.8
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#2B3F06
secondary
#43227F
accent
#2FF976
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B3F06

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

Preview Lab → · Contrast checker → · Palette generator →

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