#2B3F0B#2B3F0B

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

Color values

HEX#2B3F0B
RGBrgb(43, 63, 11)
HSLhsl(83, 70%, 15%)
HSVhsv(83, 83%, 25%)
CMYKcmyk(31.7%, 0%, 82.5%, 75.3%)
CIE-LABlab(23.98, -17.26, 27.65)
CIE-LCHlch(23.98, 32.59, 121.98°)
OKLaboklab(33.88% -0.0493 0.0619)
OKLCHoklch(33.88% 0.079 128.5)
XYZxyz(2.8342, 4.0927, 0.9572)
Luminance0.0409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F0B #1F0B3F
analogous
#3F390B #2B3F0B #113F0B
triadic
#2B3F0B #0B2B3F #3F0B2B
tetradic
#2B3F0B #0B3F39 #1F0B3F #3F0B11
square
#2B3F0B #0B3F39 #1F0B3F #3F0B11
split-complementary
#2B3F0B #0B113F #390B3F
monochromatic
#121A05 #121A05 #2B3F0B #4F7314 #72A71D

Accessibility & contrast

On white

11.55
#2B3F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3F0B
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F0B#FFFFFF#000000##FFFFFF
##2B3F0B1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A03
Deuteranopia (green-blind)
#403910
Tritanopia (blue-blind)
#2D3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3f0b;
/* rgb */ color: rgb(43, 63, 11);
/* oklch */ color: oklch(33.9% 0.079 128.5);
Tailwind
colors: {
  custom: {
    50: '#67744e',
    500: '#2b3f0b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f0b;
$custom-light: #67744e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f0b",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 83.077,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33878,
    "c": 0.07913,
    "h": 128.5
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#2B3F0B
secondary
#492A7C
accent
#3BED7F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B3F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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