#2B4E10#2B4E10

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

Color values

HEX#2B4E10
RGBrgb(43, 78, 16)
HSLhsl(94, 66%, 18%)
HSVhsv(94, 79%, 31%)
CMYKcmyk(44.9%, 0%, 79.5%, 69.4%)
CIE-LABlab(29.41, -24.56, 30.92)
CIE-LCHlch(29.41, 39.49, 128.46°)
OKLaboklab(38.32% -0.0687 0.0696)
OKLCHoklch(38.32% 0.098 134.6)
XYZxyz(3.8141, 5.9996, 1.4472)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E10 #33104E
analogous
#4A4E10 #2B4E10 #104E14
triadic
#2B4E10 #102B4E #4E102B
tetradic
#2B4E10 #104A4E #33104E #4E1410
square
#2B4E10 #104A4E #33104E #4E1410
split-complementary
#2B4E10 #14104E #4E104A
monochromatic
#0E1905 #0F1B06 #2B4E10 #47811A #63B425

Accessibility & contrast

On white

9.55
#2B4E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4E10
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E10#FFFFFF#000000##FFFFFF
##2B4E101.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514706
Deuteranopia (green-blind)
#4D4416
Tritanopia (blue-blind)
#2A4B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4e10;
/* rgb */ color: rgb(43, 78, 16);
/* oklch */ color: oklch(38.3% 0.098 134.6);
Tailwind
colors: {
  custom: {
    50: '#688053',
    500: '#2b4e10',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e10;
$custom-light: #688053;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e10",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 16
  },
  "hsl": {
    "h": 93.871,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.0978,
    "h": 134.6
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#2B4E10
secondary
#623288
accent
#3FE99F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4E10

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

Preview Lab → · Contrast checker → · Palette generator →

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