#2B4010#2B4010

#2B4010 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.077 H 129.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2B4010
RGBrgb(43, 64, 16)
HSLhsl(86, 60%, 16%)
HSVhsv(86, 75%, 25%)
CMYKcmyk(32.8%, 0%, 75%, 74.9%)
CIE-LABlab(24.38, -17.39, 25.73)
CIE-LCHlch(24.38, 31.06, 124.05°)
OKLaboklab(34.22% -0.0492 0.0587)
OKLCHoklch(34.22% 0.077 129.9)
XYZxyz(2.9232, 4.2177, 1.1502)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4010 #251040
analogous
#403D10 #2B4010 #134010
triadic
#2B4010 #102B40 #40102B
tetradic
#2B4010 #10403D #251040 #401013
square
#2B4010 #10403D #251040 #401013
split-complementary
#2B4010 #101340 #3D1040
monochromatic
#101806 #101806 #2B4010 #4C711C #6DA228

Accessibility & contrast

On white

11.39
#2B4010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B4010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4010
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4010#FFFFFF#000000##FFFFFF
##2B40101.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0A
Deuteranopia (green-blind)
#403914
Tritanopia (blue-blind)
#2C3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b4010;
/* rgb */ color: rgb(43, 64, 16);
/* oklch */ color: oklch(34.2% 0.077 129.9);
Tailwind
colors: {
  custom: {
    50: '#667551',
    500: '#2b4010',
    950: '#000000',
  },
}
SCSS
$custom: #2b4010;
$custom-light: #667551;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4010",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 86.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34219,
    "c": 0.0766,
    "h": 129.9
  },
  "luminance": 0.04218
}

Semantic roles & 50–950 ramp

primary
#2B4010
secondary
#51327A
accent
#45E38A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B4010

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

Preview Lab → · Contrast checker → · Palette generator →

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