#2B3E08#2B3E08

#2B3E08 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.080 H 127.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#2B3E08
RGBrgb(43, 62, 8)
HSLhsl(81, 77%, 14%)
HSVhsv(81, 87%, 24%)
CMYKcmyk(30.6%, 0%, 87.1%, 75.7%)
CIE-LABlab(23.59, -16.93, 28.50)
CIE-LCHlch(23.59, 33.14, 120.71°)
OKLaboklab(33.56% -0.0487 0.0632)
OKLCHoklch(33.56% 0.08 127.6)
XYZxyz(2.7627, 3.9763, 0.8516)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E08 #1B083E
analogous
#3E3608 #2B3E08 #103E08
triadic
#2B3E08 #082B3E #3E082B
tetradic
#2B3E08 #083E36 #1B083E #3E0810
square
#2B3E08 #083E36 #1B083E #3E0810
split-complementary
#2B3E08 #08103E #36083E
monochromatic
#131B03 #131B03 #2B3E08 #51740F #76AA16

Accessibility & contrast

On white

11.70
#2B3E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B3E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E08
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E08#FFFFFF#000000##FFFFFF
##2B3E081.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3F380D
Tritanopia (blue-blind)
#2D3B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b3e08;
/* rgb */ color: rgb(43, 62, 8);
/* oklch */ color: oklch(33.6% 0.080 127.6);
Tailwind
colors: {
  custom: {
    50: '#67734c',
    500: '#2b3e08',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e08;
$custom-light: #67734c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e08",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 81.111,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.3356,
    "c": 0.07979,
    "h": 127.6
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#2B3E08
secondary
#44257D
accent
#34F478
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B3E08

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

Preview Lab → · Contrast checker → · Palette generator →

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