#2B461B#2B461B

#2B461B is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.1% C 0.075 H 135.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2B461B
RGBrgb(43, 70, 27)
HSLhsl(98, 44%, 19%)
HSVhsv(98, 61%, 27%)
CMYKcmyk(38.6%, 0%, 61.4%, 72.5%)
CIE-LABlab(26.66, -19.38, 22.43)
CIE-LCHlch(26.66, 29.64, 130.83°)
OKLaboklab(36.11% -0.0536 0.0531)
OKLCHoklch(36.11% 0.075 135.3)
XYZxyz(3.3842, 4.9729, 1.8183)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B461B #361B46
analogous
#41461B #2B461B #1B4621
triadic
#2B461B #1B2B46 #461B2B
tetradic
#2B461B #1B4146 #361B46 #46211B
square
#2B461B #1B4146 #361B46 #46211B
split-complementary
#2B461B #211B46 #461B41
monochromatic
#0E1609 #101A0A #2B461B #46722C #619E3D

Accessibility & contrast

On white

10.53
#2B461B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B461B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B461B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B461B#FFFFFF#000000##FFFFFF
##2B461B1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494017
Deuteranopia (green-blind)
#453E1E
Tritanopia (blue-blind)
#2B433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b461b;
/* rgb */ color: rgb(43, 70, 27);
/* oklch */ color: oklch(36.1% 0.075 135.3);
Tailwind
colors: {
  custom: {
    50: '#667959',
    500: '#2b461b',
    950: '#000000',
  },
}
SCSS
$custom: #2b461b;
$custom-light: #667959;
$custom-dark: #000000;
JSON
{
  "hex": "#2b461b",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 27
  },
  "hsl": {
    "h": 97.674,
    "s": 44.33,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36112,
    "c": 0.07543,
    "h": 135.3
  },
  "luminance": 0.04973
}

Semantic roles & 50–950 ramp

primary
#2B461B
secondary
#66417C
accent
#54D4A4
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B461B

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

Preview Lab → · Contrast checker → · Palette generator →

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