#304613#304613

#304613 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.080 H 129.6°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#304613
RGBrgb(48, 70, 19)
HSLhsl(86, 57%, 17%)
HSVhsv(86, 73%, 27%)
CMYKcmyk(31.4%, 0%, 72.9%, 72.5%)
CIE-LABlab(26.89, -18.12, 27.03)
CIE-LCHlch(26.89, 32.54, 123.83°)
OKLaboklab(36.36% -0.0512 0.0619)
OKLCHoklch(36.36% 0.08 129.6)
XYZxyz(3.5266, 5.0556, 1.4060)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304613 #291346
analogous
#464213 #304613 #174613
triadic
#304613 #133046 #461330
tetradic
#304613 #134642 #291346 #461317
square
#304613 #134642 #291346 #461317
split-complementary
#304613 #131746 #421346
monochromatic
#111807 #111807 #304613 #517620 #72A62D

Accessibility & contrast

On white

10.44
#304613 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#304613 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304613
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304613#FFFFFF#000000##FFFFFF
##3046131.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410C
Deuteranopia (green-blind)
#463F17
Tritanopia (blue-blind)
#31433C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #304613;
/* rgb */ color: rgb(48, 70, 19);
/* oklch */ color: oklch(36.4% 0.080 129.6);
Tailwind
colors: {
  custom: {
    50: '#6a7954',
    500: '#304613',
    950: '#000000',
  },
}
SCSS
$custom: #304613;
$custom-light: #6a7954;
$custom-dark: #000000;
JSON
{
  "hex": "#304613",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 19
  },
  "hsl": {
    "h": 85.882,
    "s": 57.303,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36361,
    "c": 0.08031,
    "h": 129.6
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#304613
secondary
#55367F
accent
#47E189
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070903
muted
#7A7B78

Preview Lab

Preview with #304613

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

Preview Lab → · Contrast checker → · Palette generator →

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