#2B3F12#2B3F12

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

Color values

HEX#2B3F12
RGBrgb(43, 63, 18)
HSLhsl(87, 56%, 16%)
HSVhsv(87, 71%, 25%)
CMYKcmyk(31.7%, 0%, 71.4%, 75.3%)
CIE-LABlab(24.04, -16.65, 24.35)
CIE-LCHlch(24.04, 29.50, 124.36°)
OKLaboklab(33.95% -0.0469 0.0561)
OKLCHoklch(33.95% 0.073 129.9)
XYZxyz(2.8829, 4.1122, 1.2140)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F12 #26123F
analogous
#3F3C12 #2B3F12 #143F12
triadic
#2B3F12 #122B3F #3F122B
tetradic
#2B3F12 #123F3C #26123F #3F1214
square
#2B3F12 #123F3C #26123F #3F1214
split-complementary
#2B3F12 #12143F #3C123F
monochromatic
#101807 #101807 #2B3F12 #4B6F20 #6C9E2D

Accessibility & contrast

On white

11.52
#2B3F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3F12
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F12#FFFFFF#000000##FFFFFF
##2B3F121.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3f12;
/* rgb */ color: rgb(43, 63, 18);
/* oklch */ color: oklch(33.9% 0.073 129.9);
Tailwind
colors: {
  custom: {
    50: '#667452',
    500: '#2b3f12',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f12;
$custom-light: #667452;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f12",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 86.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33949,
    "c": 0.07316,
    "h": 129.9
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#2B3F12
secondary
#533578
accent
#49DF8C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B3F12

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

Preview Lab → · Contrast checker → · Palette generator →

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