#2B3F07#2B3F07

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

Color values

HEX#2B3F07
RGBrgb(43, 63, 7)
HSLhsl(81, 80%, 14%)
HSVhsv(81, 89%, 25%)
CMYKcmyk(31.7%, 0%, 88.9%, 75.3%)
CIE-LABlab(23.95, -17.54, 29.26)
CIE-LCHlch(23.95, 34.11, 120.94°)
OKLaboklab(33.85% -0.0504 0.0646)
OKLCHoklch(33.85% 0.082 128)
XYZxyz(2.8121, 4.0839, 0.8411)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F07 #1B073F
analogous
#3F3707 #2B3F07 #0F3F07
triadic
#2B3F07 #072B3F #3F072B
tetradic
#2B3F07 #073F37 #1B073F #3F070F
square
#2B3F07 #073F37 #1B073F #3F070F
split-complementary
#2B3F07 #070F3F #37073F
monochromatic
#131C03 #131C03 #2B3F07 #51760D #76AD13

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3F07#FFFFFF#000000##FFFFFF
##2B3F071.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)
#40390D
Tritanopia (blue-blind)
#2D3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3f07;
/* rgb */ color: rgb(43, 63, 7);
/* oklch */ color: oklch(33.8% 0.082 128.0);
Tailwind
colors: {
  custom: {
    50: '#67744c',
    500: '#2b3f07',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f07;
$custom-light: #67744c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f07",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 7
  },
  "hsl": {
    "h": 81.429,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33845,
    "c": 0.08199,
    "h": 128
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

primary
#2B3F07
secondary
#44247E
accent
#31F678
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B3F07

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

Preview Lab → · Contrast checker → · Palette generator →

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