#2B4509#2B4509

#2B4509 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.6% C 0.089 H 130.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2B4509
RGBrgb(43, 69, 9)
HSLhsl(86, 77%, 15%)
HSVhsv(86, 87%, 27%)
CMYKcmyk(37.7%, 0%, 87%, 72.9%)
CIE-LABlab(26.13, -20.57, 30.53)
CIE-LCHlch(26.13, 36.81, 123.97°)
OKLaboklab(35.62% -0.0585 0.0676)
OKLCHoklch(35.62% 0.089 130.9)
XYZxyz(3.1737, 4.7894, 1.0156)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4509 #230945
analogous
#454109 #2B4509 #0D4509
triadic
#2B4509 #092B45 #45092B
tetradic
#2B4509 #094541 #230945 #45090D
square
#2B4509 #094541 #230945 #45090D
split-complementary
#2B4509 #090D45 #410945
monochromatic
#111B04 #111B04 #2B4509 #4D7B10 #6EB117

Accessibility & contrast

On white

10.73
#2B4509 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B4509 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4509
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4509#FFFFFF#000000##FFFFFF
##2B45091.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F00
Deuteranopia (green-blind)
#453D0F
Tritanopia (blue-blind)
#2C423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b4509;
/* rgb */ color: rgb(43, 69, 9);
/* oklch */ color: oklch(35.6% 0.089 130.9);
Tailwind
colors: {
  custom: {
    50: '#67794e',
    500: '#2b4509',
    950: '#000000',
  },
}
SCSS
$custom: #2b4509;
$custom-light: #67794e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4509",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 9
  },
  "hsl": {
    "h": 86,
    "s": 76.923,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35624,
    "c": 0.08936,
    "h": 130.9
  },
  "luminance": 0.0479
}

Semantic roles & 50–950 ramp

primary
#2B4509
secondary
#4F2783
accent
#34F387
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4509

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

Preview Lab → · Contrast checker → · Palette generator →

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