#2B3902#2B3902

#2B3902 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.077 H 123.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2B3902
RGBrgb(43, 57, 2)
HSLhsl(75, 93%, 12%)
HSVhsv(75, 96%, 22%)
CMYKcmyk(24.6%, 0%, 96.5%, 77.6%)
CIE-LABlab(21.74, -14.57, 29.02)
CIE-LCHlch(21.74, 32.47, 116.66°)
OKLaboklab(32.04% -0.043 0.0643)
OKLCHoklch(32.04% 0.077 123.8)
XYZxyz(2.4704, 3.4442, 0.5921)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3902 #100239
analogous
#392C02 #2B3902 #103902
triadic
#2B3902 #022B39 #39022B
tetradic
#2B3902 #02392C #100239 #390210
square
#2B3902 #02392C #100239 #390210
split-complementary
#2B3902 #021039 #2C0239
monochromatic
#161E01 #161E01 #2B3902 #587404 #84AF06

Accessibility & contrast

On white

12.43
#2B3902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B3902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3902
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3902#FFFFFF#000000##FFFFFF
##2B39021.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3B3407
Tritanopia (blue-blind)
#2E362F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b3902;
/* rgb */ color: rgb(43, 57, 2);
/* oklch */ color: oklch(32.0% 0.077 123.8);
Tailwind
colors: {
  custom: {
    50: '#676f49',
    500: '#2b3902',
    950: '#000000',
  },
}
SCSS
$custom: #2b3902;
$custom-light: #676f49;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3902",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 75.273,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.32043,
    "c": 0.07735,
    "h": 123.8
  },
  "luminance": 0.03444
}

Semantic roles & 50–950 ramp

primary
#2B3902
secondary
#331A7D
accent
#29FF5F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3902

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

Preview Lab → · Contrast checker → · Palette generator →

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