#2B460C#2B460C

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

Color values

HEX#2B460C
RGBrgb(43, 70, 12)
HSLhsl(88, 71%, 16%)
HSVhsv(88, 83%, 27%)
CMYKcmyk(38.6%, 0%, 82.9%, 72.5%)
CIE-LABlab(26.51, -20.89, 29.71)
CIE-LCHlch(26.51, 36.32, 125.10°)
OKLaboklab(35.94% -0.0591 0.0664)
OKLCHoklch(35.94% 0.089 131.7)
XYZxyz(3.2527, 4.9203, 1.1261)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B460C #270C46
analogous
#46440C #2B460C #0E460C
triadic
#2B460C #0C2B46 #460C2B
tetradic
#2B460C #0C4644 #270C46 #460C0E
square
#2B460C #0C4644 #270C46 #460C0E
split-complementary
#2B460C #0C0E46 #440C46
monochromatic
#101A04 #101A04 #2B460C #4B7A15 #6BAE1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B460C#FFFFFF#000000##FFFFFF
##2B460C1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b460c;
/* rgb */ color: rgb(43, 70, 12);
/* oklch */ color: oklch(35.9% 0.089 131.7);
Tailwind
colors: {
  custom: {
    50: '#677950',
    500: '#2b460c',
    950: '#000000',
  },
}
SCSS
$custom: #2b460c;
$custom-light: #677950;
$custom-dark: #000000;
JSON
{
  "hex": "#2b460c",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 87.931,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35941,
    "c": 0.08887,
    "h": 131.7
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#2B460C
secondary
#542C82
accent
#3AED8E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B460C

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

Preview Lab → · Contrast checker → · Palette generator →

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