#2B3F05#2B3F05

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

Color values

HEX#2B3F05
RGBrgb(43, 63, 5)
HSLhsl(81, 85%, 13%)
HSVhsv(81, 92%, 25%)
CMYKcmyk(31.7%, 0%, 92.1%, 75.3%)
CIE-LABlab(23.93, -17.68, 30.06)
CIE-LCHlch(23.93, 34.87, 120.46°)
OKLaboklab(33.83% -0.051 0.066)
OKLCHoklch(33.83% 0.083 127.7)
XYZxyz(2.8012, 4.0795, 0.7834)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F05 #19053F
analogous
#3F3605 #2B3F05 #0E3F05
triadic
#2B3F05 #052B3F #3F052B
tetradic
#2B3F05 #053F36 #19053F #3F050E
square
#2B3F05 #053F36 #19053F #3F050E
split-complementary
#2B3F05 #050E3F #36053F
monochromatic
#131C02 #131C02 #2B3F05 #527809 #78B00E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3F05#FFFFFF#000000##FFFFFF
##2B3F051.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)
#40390B
Tritanopia (blue-blind)
#2D3C34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3f05;
/* rgb */ color: rgb(43, 63, 5);
/* oklch */ color: oklch(33.8% 0.083 127.7);
Tailwind
colors: {
  custom: {
    50: '#67744b',
    500: '#2b3f05',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f05;
$custom-light: #67744b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f05",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 5
  },
  "hsl": {
    "h": 80.69,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33829,
    "c": 0.08345,
    "h": 127.7
  },
  "luminance": 0.0408
}

Semantic roles & 50–950 ramp

primary
#2B3F05
secondary
#412080
accent
#2CFC74
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B3F05

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

Preview Lab → · Contrast checker → · Palette generator →

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