#2B3A07#2B3A07

#2B3A07 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.075 H 125.1°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#2B3A07
RGBrgb(43, 58, 7)
HSLhsl(78, 78%, 13%)
HSVhsv(78, 88%, 23%)
CMYKcmyk(25.9%, 0%, 87.9%, 77.3%)
CIE-LABlab(22.14, -14.77, 27.41)
CIE-LCHlch(22.14, 31.13, 118.32°)
OKLaboklab(32.38% -0.0429 0.0611)
OKLCHoklch(32.38% 0.075 125.1)
XYZxyz(2.5477, 3.5550, 0.7529)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A07 #16073A
analogous
#3A2F07 #2B3A07 #113A07
triadic
#2B3A07 #072B3A #3A072B
tetradic
#2B3A07 #073A2F #16073A #3A0711
square
#2B3A07 #073A2F #16073A #3A0711
split-complementary
#2B3A07 #07113A #2F073A
monochromatic
#141B03 #141B03 #2B3A07 #53710E #7CA714

Accessibility & contrast

On white

12.27
#2B3A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B3A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A07
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A07#FFFFFF#000000##FFFFFF
##2B3A071.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#2D3730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b3a07;
/* rgb */ color: rgb(43, 58, 7);
/* oklch */ color: oklch(32.4% 0.075 125.1);
Tailwind
colors: {
  custom: {
    50: '#66704b',
    500: '#2b3a07',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a07;
$custom-light: #66704b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a07",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 77.647,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.3238,
    "c": 0.07466,
    "h": 125.1
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#2B3A07
secondary
#3D2379
accent
#33F56C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3A07

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

Preview Lab → · Contrast checker → · Palette generator →

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