#304706#304706

#304706 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.091 H 128.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#304706
RGBrgb(48, 71, 6)
HSLhsl(81, 84%, 15%)
HSVhsv(81, 92%, 28%)
CMYKcmyk(32.4%, 0%, 91.5%, 72.2%)
CIE-LABlab(27.15, -19.57, 32.78)
CIE-LCHlch(27.15, 38.18, 120.84°)
OKLaboklab(36.54% -0.0564 0.0715)
OKLCHoklch(36.54% 0.091 128.3)
XYZxyz(3.5050, 5.1479, 0.9812)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304706 #1D0647
analogous
#473E06 #304706 #0F4706
triadic
#304706 #063047 #470630
tetradic
#304706 #06473E #1D0647 #47060F
square
#304706 #06473E #1D0647 #47060F
split-complementary
#304706 #060F47 #3E0647
monochromatic
#131C02 #131C02 #304706 #567F0B #7CB810

Accessibility & contrast

On white

10.35
#304706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#304706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304706
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304706#FFFFFF#000000##FFFFFF
##3047061.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#48400D
Tritanopia (blue-blind)
#32433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #304706;
/* rgb */ color: rgb(48, 71, 6);
/* oklch */ color: oklch(36.5% 0.091 128.3);
Tailwind
colors: {
  custom: {
    50: '#6b7a4d',
    500: '#304706',
    950: '#000000',
  },
}
SCSS
$custom: #304706;
$custom-light: #6b7a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#304706",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 6
  },
  "hsl": {
    "h": 81.231,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.36541,
    "c": 0.09107,
    "h": 128.3
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#304706
secondary
#462386
accent
#2DFB76
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #304706

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

Preview Lab → · Contrast checker → · Palette generator →

#304706 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva