#304705#304705

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

Color values

HEX#304705
RGBrgb(48, 71, 5)
HSLhsl(81, 87%, 15%)
HSVhsv(81, 93%, 28%)
CMYKcmyk(32.4%, 0%, 93%, 72.2%)
CIE-LABlab(27.15, -19.63, 33.18)
CIE-LCHlch(27.15, 38.55, 120.61°)
OKLaboklab(36.53% -0.0567 0.0721)
OKLCHoklch(36.53% 0.092 128.2)
XYZxyz(3.4996, 5.1457, 0.9524)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304705 #1C0547
analogous
#473D05 #304705 #0F4705
triadic
#304705 #053047 #470530
tetradic
#304705 #05473D #1C0547 #47050F
square
#304705 #05473D #1C0547 #47050F
split-complementary
#304705 #050F47 #3D0547
monochromatic
#131D02 #131D02 #304705 #578009 #7DB90D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##304705#FFFFFF#000000##FFFFFF
##3047051.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)
#48400C
Tritanopia (blue-blind)
#32433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #304705;
/* rgb */ color: rgb(48, 71, 5);
/* oklch */ color: oklch(36.5% 0.092 128.2);
Tailwind
colors: {
  custom: {
    50: '#6b7a4c',
    500: '#304705',
    950: '#000000',
  },
}
SCSS
$custom: #304705;
$custom-light: #6b7a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#304705",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 5
  },
  "hsl": {
    "h": 80.909,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36534,
    "c": 0.09172,
    "h": 128.2
  },
  "luminance": 0.05146
}

Semantic roles & 50–950 ramp

primary
#304705
secondary
#442187
accent
#2BFD74
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #304705

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

Preview Lab → · Contrast checker → · Palette generator →

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