#2B3F0C#2B3F0C

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

Color values

HEX#2B3F0C
RGBrgb(43, 63, 12)
HSLhsl(84, 68%, 15%)
HSVhsv(84, 81%, 25%)
CMYKcmyk(31.7%, 0%, 81%, 75.3%)
CIE-LABlab(23.98, -17.19, 27.21)
CIE-LCHlch(23.98, 32.19, 122.27°)
OKLaboklab(33.89% -0.049 0.0612)
OKLCHoklch(33.89% 0.078 128.7)
XYZxyz(2.8401, 4.0951, 0.9885)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F0C #200C3F
analogous
#3F3A0C #2B3F0C #123F0C
triadic
#2B3F0C #0C2B3F #3F0C2B
tetradic
#2B3F0C #0C3F3A #200C3F #3F0C12
square
#2B3F0C #0C3F3A #200C3F #3F0C12
split-complementary
#2B3F0C #0C123F #3A0C3F
monochromatic
#121A05 #121A05 #2B3F0C #4E7216 #71A620

Accessibility & contrast

On white

11.54
#2B3F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3F0C
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F0C#FFFFFF#000000##FFFFFF
##2B3F0C1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A05
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#2D3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3f0c;
/* rgb */ color: rgb(43, 63, 12);
/* oklch */ color: oklch(33.9% 0.078 128.7);
Tailwind
colors: {
  custom: {
    50: '#66744e',
    500: '#2b3f0c',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f0c;
$custom-light: #66744e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f0c",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 83.529,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33886,
    "c": 0.07838,
    "h": 128.7
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#2B3F0C
secondary
#4B2C7B
accent
#3DEB81
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B3F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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