#2B410F#2B410F

#2B410F is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.079 H 130.2°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2B410F
RGBrgb(43, 65, 15)
HSLhsl(86, 63%, 16%)
HSVhsv(86, 77%, 25%)
CMYKcmyk(33.8%, 0%, 76.9%, 74.5%)
CIE-LABlab(24.73, -18.02, 26.59)
CIE-LCHlch(24.73, 32.12, 124.13°)
OKLaboklab(34.5% -0.051 0.0604)
OKLCHoklch(34.5% 0.079 130.2)
XYZxyz(2.9728, 4.3286, 1.1307)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B410F #250F41
analogous
#413E0F #2B410F #12410F
triadic
#2B410F #0F2B41 #410F2B
tetradic
#2B410F #0F413E #250F41 #410F12
square
#2B410F #0F413E #250F41 #410F12
split-complementary
#2B410F #0F1241 #3E0F41
monochromatic
#101906 #101906 #2B410F #4C731A #6DA426

Accessibility & contrast

On white

11.26
#2B410F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B410F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B410F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B410F#FFFFFF#000000##FFFFFF
##2B410F1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C08
Deuteranopia (green-blind)
#413A13
Tritanopia (blue-blind)
#2C3E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b410f;
/* rgb */ color: rgb(43, 65, 15);
/* oklch */ color: oklch(34.5% 0.079 130.2);
Tailwind
colors: {
  custom: {
    50: '#667550',
    500: '#2b410f',
    950: '#000000',
  },
}
SCSS
$custom: #2b410f;
$custom-light: #667550;
$custom-dark: #000000;
JSON
{
  "hex": "#2b410f",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 15
  },
  "hsl": {
    "h": 86.4,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34501,
    "c": 0.07903,
    "h": 130.2
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#2B410F
secondary
#51307B
accent
#42E68A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B410F

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

Preview Lab → · Contrast checker → · Palette generator →

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