#2B4207#2B4207

#2B4207 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.086 H 129.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2B4207
RGBrgb(43, 66, 7)
HSLhsl(83, 81%, 14%)
HSVhsv(83, 89%, 26%)
CMYKcmyk(34.8%, 0%, 89.4%, 74.1%)
CIE-LABlab(25.03, -19.14, 30.31)
CIE-LCHlch(25.03, 35.85, 122.27°)
OKLaboklab(34.73% -0.0548 0.0667)
OKLCHoklch(34.73% 0.086 129.4)
XYZxyz(2.9828, 4.4253, 0.8980)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4207 #1E0742
analogous
#423C07 #2B4207 #0E4207
triadic
#2B4207 #072B42 #42072B
tetradic
#2B4207 #07423C #1E0742 #42070E
square
#2B4207 #07423C #1E0742 #42070E
split-complementary
#2B4207 #070E42 #3C0742
monochromatic
#121C03 #121C03 #2B4207 #4F790D #73B113

Accessibility & contrast

On white

11.14
#2B4207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B4207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4207
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4207#FFFFFF#000000##FFFFFF
##2B42071.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463C00
Deuteranopia (green-blind)
#423B0D
Tritanopia (blue-blind)
#2D3F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b4207;
/* rgb */ color: rgb(43, 66, 7);
/* oklch */ color: oklch(34.7% 0.086 129.4);
Tailwind
colors: {
  custom: {
    50: '#67764c',
    500: '#2b4207',
    950: '#000000',
  },
}
SCSS
$custom: #2b4207;
$custom-light: #67764c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4207",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 83.39,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34727,
    "c": 0.08634,
    "h": 129.4
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#2B4207
secondary
#482481
accent
#31F77E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B4207

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

Preview Lab → · Contrast checker → · Palette generator →

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