#2B460F#2B460F

#2B460F is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.087 H 132.2°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2B460F
RGBrgb(43, 70, 15)
HSLhsl(89, 65%, 17%)
HSVhsv(89, 79%, 27%)
CMYKcmyk(38.6%, 0%, 78.6%, 72.5%)
CIE-LABlab(26.53, -20.65, 28.44)
CIE-LCHlch(26.53, 35.15, 125.99°)
OKLaboklab(35.97% -0.0582 0.0643)
OKLCHoklch(35.97% 0.087 132.2)
XYZxyz(3.2726, 4.9283, 1.2307)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B460F #2A0F46
analogous
#46460F #2B460F #0F460F
triadic
#2B460F #0F2B46 #460F2B
tetradic
#2B460F #0F4646 #2A0F46 #460F0F
square
#2B460F #0F4646 #2A0F46 #460F0F
split-complementary
#2B460F #0F0F46 #460F46
monochromatic
#0F1905 #0F1905 #2B460F #4A781A #69AB25

Accessibility & contrast

On white

10.58
#2B460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B460F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B460F#FFFFFF#000000##FFFFFF
##2B460F1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b460f;
/* rgb */ color: rgb(43, 70, 15);
/* oklch */ color: oklch(36.0% 0.087 132.2);
Tailwind
colors: {
  custom: {
    50: '#677951',
    500: '#2b460f',
    950: '#000000',
  },
}
SCSS
$custom: #2b460f;
$custom-light: #677951;
$custom-dark: #000000;
JSON
{
  "hex": "#2b460f",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 89.455,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35967,
    "c": 0.08668,
    "h": 132.2
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#2B460F
secondary
#583080
accent
#40E892
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B460F

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

Preview Lab → · Contrast checker → · Palette generator →

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