#304607#304607

#304607 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.3% C 0.089 H 127.9°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#304607
RGBrgb(48, 70, 7)
HSLhsl(81, 82%, 15%)
HSVhsv(81, 90%, 27%)
CMYKcmyk(31.4%, 0%, 90%, 72.5%)
CIE-LABlab(26.80, -18.99, 32.07)
CIE-LCHlch(26.80, 37.27, 120.63°)
OKLaboklab(36.26% -0.0547 0.0702)
OKLCHoklch(36.26% 0.089 127.9)
XYZxyz(3.4474, 5.0240, 0.9891)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304607 #1D0746
analogous
#463C07 #304607 #114607
triadic
#304607 #073046 #460730
tetradic
#304607 #07463C #1D0746 #460711
square
#304607 #07463C #1D0746 #460711
split-complementary
#304607 #071146 #3C0746
monochromatic
#131C03 #131C03 #304607 #567E0D #7CB512

Accessibility & contrast

On white

10.47
#304607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304607
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304607#FFFFFF#000000##FFFFFF
##3046071.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #304607;
/* rgb */ color: rgb(48, 70, 7);
/* oklch */ color: oklch(36.3% 0.089 127.9);
Tailwind
colors: {
  custom: {
    50: '#6b794d',
    500: '#304607',
    950: '#000000',
  },
}
SCSS
$custom: #304607;
$custom-light: #6b794d;
$custom-dark: #000000;
JSON
{
  "hex": "#304607",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 7
  },
  "hsl": {
    "h": 80.952,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.36259,
    "c": 0.08904,
    "h": 127.9
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#304607
secondary
#462485
accent
#30F876
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #304607

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

Preview Lab → · Contrast checker → · Palette generator →

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