#2B3704#2B3704

#2B3704 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.5% C 0.073 H 122.6°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#2B3704
RGBrgb(43, 55, 4)
HSLhsl(74, 86%, 12%)
HSVhsv(74, 93%, 22%)
CMYKcmyk(21.8%, 0%, 92.7%, 78.4%)
CIE-LABlab(21.04, -13.27, 27.44)
CIE-LCHlch(21.04, 30.48, 115.81°)
OKLaboklab(31.48% -0.0392 0.0614)
OKLCHoklch(31.48% 0.073 122.6)
XYZxyz(2.3844, 3.2547, 0.6174)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3704 #100437
analogous
#372A04 #2B3704 #123704
triadic
#2B3704 #042B37 #37042B
tetradic
#2B3704 #04372A #100437 #370412
square
#2B3704 #04372A #100437 #370412
split-complementary
#2B3704 #041237 #2A0437
monochromatic
#161D02 #161D02 #2B3704 #587008 #84A90C

Accessibility & contrast

On white

12.72
#2B3704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B3704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3704
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3704#FFFFFF#000000##FFFFFF
##2B37041.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#393308
Tritanopia (blue-blind)
#2E342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b3704;
/* rgb */ color: rgb(43, 55, 4);
/* oklch */ color: oklch(31.5% 0.073 122.6);
Tailwind
colors: {
  custom: {
    50: '#666d49',
    500: '#2b3704',
    950: '#000000',
  },
}
SCSS
$custom: #2b3704;
$custom-light: #666d49;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3704",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 4
  },
  "hsl": {
    "h": 74.118,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31478,
    "c": 0.07281,
    "h": 122.6
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#2B3704
secondary
#331E79
accent
#2BFD5C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3704

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

Preview Lab → · Contrast checker → · Palette generator →

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