#2B3F11#2B3F11

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

Color values

HEX#2B3F11
RGBrgb(43, 63, 17)
HSLhsl(86, 58%, 16%)
HSVhsv(86, 73%, 25%)
CMYKcmyk(31.7%, 0%, 73%, 75.3%)
CIE-LABlab(24.03, -16.75, 24.86)
CIE-LCHlch(24.03, 29.97, 123.97°)
OKLaboklab(33.94% -0.0473 0.0571)
OKLCHoklch(33.94% 0.074 129.7)
XYZxyz(2.8749, 4.1090, 1.1719)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F11 #25113F
analogous
#3F3C11 #2B3F11 #143F11
triadic
#2B3F11 #112B3F #3F112B
tetradic
#2B3F11 #113F3C #25113F #3F1114
square
#2B3F11 #113F3C #25113F #3F1114
split-complementary
#2B3F11 #11143F #3C113F
monochromatic
#101807 #101807 #2B3F11 #4C6F1E #6D9F2B

Accessibility & contrast

On white

11.53
#2B3F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3F11
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F11#FFFFFF#000000##FFFFFF
##2B3F111.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0B
Deuteranopia (green-blind)
#3F3915
Tritanopia (blue-blind)
#2C3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3f11;
/* rgb */ color: rgb(43, 63, 17);
/* oklch */ color: oklch(33.9% 0.074 129.7);
Tailwind
colors: {
  custom: {
    50: '#667451',
    500: '#2b3f11',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f11;
$custom-light: #667451;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f11",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 17
  },
  "hsl": {
    "h": 86.087,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33938,
    "c": 0.07411,
    "h": 129.7
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#2B3F11
secondary
#513378
accent
#47E18A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B3F11

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

Preview Lab → · Contrast checker → · Palette generator →

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