#2B4A10#2B4A10

#2B4A10 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.092 H 133.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2B4A10
RGBrgb(43, 74, 16)
HSLhsl(92, 64%, 18%)
HSVhsv(92, 78%, 29%)
CMYKcmyk(41.9%, 0%, 78.4%, 71%)
CIE-LABlab(27.98, -22.60, 29.47)
CIE-LCHlch(27.98, 37.14, 127.48°)
OKLaboklab(37.15% -0.0634 0.0666)
OKLCHoklch(37.15% 0.092 133.6)
XYZxyz(3.5385, 5.4484, 1.3553)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A10 #2F104A
analogous
#484A10 #2B4A10 #104A12
triadic
#2B4A10 #102B4A #4A102B
tetradic
#2B4A10 #10484A #2F104A #4A1210
square
#2B4A10 #10484A #2F104A #4A1210
split-complementary
#2B4A10 #12104A #4A1048
monochromatic
#0F1905 #0F1905 #2B4A10 #487C1B #65AF26

Accessibility & contrast

On white

10.05
#2B4A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B4A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A10
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A10#FFFFFF#000000##FFFFFF
##2B4A101.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4407
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#2B473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b4a10;
/* rgb */ color: rgb(43, 74, 16);
/* oklch */ color: oklch(37.1% 0.092 133.6);
Tailwind
colors: {
  custom: {
    50: '#677d52',
    500: '#2b4a10',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a10;
$custom-light: #677d52;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a10",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 92.069,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3715,
    "c": 0.09191,
    "h": 133.6
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#2B4A10
secondary
#5E3284
accent
#40E79A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4A10

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

Preview Lab → · Contrast checker → · Palette generator →

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