#2B4C09#2B4C09

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

Color values

HEX#2B4C09
RGBrgb(43, 76, 9)
HSLhsl(90, 79%, 17%)
HSVhsv(90, 88%, 30%)
CMYKcmyk(43.4%, 0%, 88.2%, 70.2%)
CIE-LABlab(28.65, -24.07, 32.87)
CIE-LCHlch(28.65, 40.74, 126.21°)
OKLaboklab(37.69% -0.0679 0.0725)
OKLCHoklch(37.69% 0.099 133.1)
XYZxyz(3.6300, 5.7020, 1.1677)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C09 #2A094C
analogous
#4C4C09 #2B4C09 #0A4C09
triadic
#2B4C09 #092B4C #4C092B
tetradic
#2B4C09 #094C4C #2A094C #4C090A
square
#2B4C09 #094C4C #2A094C #4C090A
split-complementary
#2B4C09 #090A4C #4C094C
monochromatic
#0F1B03 #0F1B03 #2B4C09 #4A830F #69B916

Accessibility & contrast

On white

9.81
#2B4C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4C09
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C09#FFFFFF#000000##FFFFFF
##2B4C091.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4c09;
/* rgb */ color: rgb(43, 76, 9);
/* oklch */ color: oklch(37.7% 0.099 133.1);
Tailwind
colors: {
  custom: {
    50: '#687e4f',
    500: '#2b4c09',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c09;
$custom-light: #687e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c09",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 9
  },
  "hsl": {
    "h": 89.552,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37685,
    "c": 0.09932,
    "h": 133.1
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#2B4C09
secondary
#582889
accent
#33F592
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4C09

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

Preview Lab → · Contrast checker → · Palette generator →

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