#2D3704#2D3704

#2D3704 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.7% C 0.072 H 120.6°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#2D3704
RGBrgb(45, 55, 4)
HSLhsl(72, 86%, 12%)
HSVhsv(72, 93%, 22%)
CMYKcmyk(18.2%, 0%, 92.7%, 78.4%)
CIE-LABlab(21.20, -12.25, 27.67)
CIE-LCHlch(21.20, 30.26, 113.89°)
OKLaboklab(31.66% -0.0366 0.0617)
OKLCHoklch(31.66% 0.072 120.6)
XYZxyz(2.4703, 3.2990, 0.6215)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3704 #0E0437
analogous
#372804 #2D3704 #143704
triadic
#2D3704 #042D37 #37042D
tetradic
#2D3704 #043728 #0E0437 #370414
square
#2D3704 #043728 #0E0437 #370414
split-complementary
#2D3704 #041437 #280437
monochromatic
#171D02 #171D02 #2D3704 #5C7008 #8AA90C

Accessibility & contrast

On white

12.65
#2D3704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2D3704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3704
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3704#FFFFFF#000000##FFFFFF
##2D37041.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#3A3308
Tritanopia (blue-blind)
#30332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d3704;
/* rgb */ color: rgb(45, 55, 4);
/* oklch */ color: oklch(31.7% 0.072 120.6);
Tailwind
colors: {
  custom: {
    50: '#686d49',
    500: '#2d3704',
    950: '#000000',
  },
}
SCSS
$custom: #2d3704;
$custom-light: #686d49;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3704",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 4
  },
  "hsl": {
    "h": 71.765,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31656,
    "c": 0.07174,
    "h": 120.6
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#2D3704
secondary
#301E79
accent
#2BFD54
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3704

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

Preview Lab → · Contrast checker → · Palette generator →

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