#2B4E07#2B4E07

#2B4E07 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.103 H 133.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2B4E07
RGBrgb(43, 78, 7)
HSLhsl(90, 84%, 17%)
HSVhsv(90, 91%, 31%)
CMYKcmyk(44.9%, 0%, 91%, 69.4%)
CIE-LABlab(29.36, -25.15, 34.23)
CIE-LCHlch(29.36, 42.48, 126.30°)
OKLaboklab(38.26% -0.0709 0.075)
OKLCHoklch(38.26% 0.103 133.4)
XYZxyz(3.7589, 5.9775, 1.1567)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E07 #2A074E
analogous
#4E4E07 #2B4E07 #084E07
triadic
#2B4E07 #072B4E #4E072B
tetradic
#2B4E07 #074E4E #2A074E #4E0708
square
#2B4E07 #074E4E #2A074E #4E0708
split-complementary
#2B4E07 #07084E #4E074E
monochromatic
#0F1C03 #0F1C03 #2B4E07 #4A860C #69BE11

Accessibility & contrast

On white

9.56
#2B4E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B4E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E07
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E07#FFFFFF#000000##FFFFFF
##2B4E071.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4D4410
Tritanopia (blue-blind)
#2B4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4e07;
/* rgb */ color: rgb(43, 78, 7);
/* oklch */ color: oklch(38.3% 0.103 133.4);
Tailwind
colors: {
  custom: {
    50: '#69804f',
    500: '#2b4e07',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e07;
$custom-light: #69804f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e07",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 89.577,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38261,
    "c": 0.10321,
    "h": 133.4
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#2B4E07
secondary
#58258C
accent
#2EFA92
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4E07

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

Preview Lab → · Contrast checker → · Palette generator →

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