#2B4C10#2B4C10

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

Color values

HEX#2B4C10
RGBrgb(43, 76, 16)
HSLhsl(93, 65%, 18%)
HSVhsv(93, 79%, 30%)
CMYKcmyk(43.4%, 0%, 78.9%, 70.2%)
CIE-LABlab(28.69, -23.59, 30.20)
CIE-LCHlch(28.69, 38.32, 127.99°)
OKLaboklab(37.74% -0.066 0.0681)
OKLCHoklch(37.74% 0.095 134.1)
XYZxyz(3.6742, 5.7197, 1.4005)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C10 #31104C
analogous
#494C10 #2B4C10 #104C13
triadic
#2B4C10 #102B4C #4C102B
tetradic
#2B4C10 #10494C #31104C #4C1310
square
#2B4C10 #10494C #31104C #4C1310
split-complementary
#2B4C10 #13104C #4C1049
monochromatic
#0E1905 #0E1905 #2B4C10 #487F1B #64B125

Accessibility & contrast

On white

9.79
#2B4C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4C10
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C10#FFFFFF#000000##FFFFFF
##2B4C101.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4c10;
/* rgb */ color: rgb(43, 76, 16);
/* oklch */ color: oklch(37.7% 0.095 134.1);
Tailwind
colors: {
  custom: {
    50: '#687e53',
    500: '#2b4c10',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c10;
$custom-light: #687e53;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c10",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 93,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37737,
    "c": 0.09487,
    "h": 134.1
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#2B4C10
secondary
#603286
accent
#40E89C
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4C10

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

Preview Lab → · Contrast checker → · Palette generator →

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