#2B4C0E#2B4C0E

#2B4C0E is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.096 H 133.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2B4C0E
RGBrgb(43, 76, 14)
HSLhsl(92, 69%, 18%)
HSVhsv(92, 82%, 30%)
CMYKcmyk(43.4%, 0%, 81.6%, 70.2%)
CIE-LABlab(28.68, -23.74, 31.03)
CIE-LCHlch(28.68, 39.07, 127.42°)
OKLaboklab(37.72% -0.0666 0.0695)
OKLCHoklch(37.72% 0.096 133.8)
XYZxyz(3.6599, 5.7140, 1.3254)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C0E #2F0E4C
analogous
#4A4C0E #2B4C0E #0E4C10
triadic
#2B4C0E #0E2B4C #4C0E2B
tetradic
#2B4C0E #0E4A4C #2F0E4C #4C100E
square
#2B4C0E #0E4A4C #2F0E4C #4C100E
split-complementary
#2B4C0E #100E4C #4C0E4A
monochromatic
#0F1A05 #0F1A05 #2B4C0E #488018 #65B321

Accessibility & contrast

On white

9.80
#2B4C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B4C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C0E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C0E#FFFFFF#000000##FFFFFF
##2B4C0E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4503
Deuteranopia (green-blind)
#4B4314
Tritanopia (blue-blind)
#2B4940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b4c0e;
/* rgb */ color: rgb(43, 76, 14);
/* oklch */ color: oklch(37.7% 0.096 133.8);
Tailwind
colors: {
  custom: {
    50: '#687e51',
    500: '#2b4c0e',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c0e;
$custom-light: #687e51;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c0e",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 91.935,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37721,
    "c": 0.09628,
    "h": 133.8
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#2B4C0E
secondary
#5E2F87
accent
#3CEC9A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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