#304605#304605

#304605 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.090 H 127.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#304605
RGBrgb(48, 70, 5)
HSLhsl(80, 87%, 15%)
HSVhsv(80, 93%, 27%)
CMYKcmyk(31.4%, 0%, 92.9%, 72.5%)
CIE-LABlab(26.79, -19.11, 32.87)
CIE-LCHlch(26.79, 38.02, 120.17°)
OKLaboklab(36.24% -0.0552 0.0715)
OKLCHoklch(36.24% 0.09 127.7)
XYZxyz(3.4365, 5.0196, 0.9314)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304605 #1B0546
analogous
#463C05 #304605 #0F4605
triadic
#304605 #053046 #460530
tetradic
#304605 #05463C #1B0546 #46050F
square
#304605 #05463C #1B0546 #46050F
split-complementary
#304605 #050F46 #3C0546
monochromatic
#141D02 #141D02 #304605 #577F09 #7EB80D

Accessibility & contrast

On white

10.48
#304605 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#304605 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304605
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304605#FFFFFF#000000##FFFFFF
##3046051.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#473F0C
Tritanopia (blue-blind)
#32423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #304605;
/* rgb */ color: rgb(48, 70, 5);
/* oklch */ color: oklch(36.2% 0.090 127.7);
Tailwind
colors: {
  custom: {
    50: '#6b794c',
    500: '#304605',
    950: '#000000',
  },
}
SCSS
$custom: #304605;
$custom-light: #6b794c;
$custom-dark: #000000;
JSON
{
  "hex": "#304605",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 5
  },
  "hsl": {
    "h": 80.308,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.36245,
    "c": 0.09032,
    "h": 127.7
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#304605
secondary
#432186
accent
#2BFD72
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #304605

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

Preview Lab → · Contrast checker → · Palette generator →

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