#2B460B#2B460B

#2B460B is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.090 H 131.5°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2B460B
RGBrgb(43, 70, 11)
HSLhsl(87, 73%, 16%)
HSVhsv(87, 84%, 27%)
CMYKcmyk(38.6%, 0%, 84.3%, 72.5%)
CIE-LABlab(26.50, -20.95, 30.11)
CIE-LCHlch(26.50, 36.68, 124.83°)
OKLaboklab(35.93% -0.0593 0.0671)
OKLCHoklch(35.93% 0.09 131.5)
XYZxyz(3.2468, 4.9179, 1.0947)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B460B #260B46
analogous
#46430B #2B460B #0D460B
triadic
#2B460B #0B2B46 #460B2B
tetradic
#2B460B #0B4643 #260B46 #460B0D
square
#2B460B #0B4643 #260B46 #460B0D
split-complementary
#2B460B #0B0D46 #430B46
monochromatic
#101A04 #101A04 #2B460B #4B7B13 #6CB01C

Accessibility & contrast

On white

10.59
#2B460B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B460B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B460B
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B460B#FFFFFF#000000##FFFFFF
##2B460B1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494002
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#2C433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b460b;
/* rgb */ color: rgb(43, 70, 11);
/* oklch */ color: oklch(35.9% 0.090 131.5);
Tailwind
colors: {
  custom: {
    50: '#67794f',
    500: '#2b460b',
    950: '#000000',
  },
}
SCSS
$custom: #2b460b;
$custom-light: #67794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b460b",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 87.458,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35933,
    "c": 0.08954,
    "h": 131.5
  },
  "luminance": 0.04918
}

Semantic roles & 50–950 ramp

primary
#2B460B
secondary
#532A82
accent
#38F08C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B460B

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

Preview Lab → · Contrast checker → · Palette generator →

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