#304610#304610

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

Color values

HEX#304610
RGBrgb(48, 70, 16)
HSLhsl(84, 63%, 17%)
HSVhsv(84, 77%, 27%)
CMYKcmyk(31.4%, 0%, 77.1%, 72.5%)
CIE-LABlab(26.87, -18.38, 28.43)
CIE-LCHlch(26.87, 33.86, 122.87°)
OKLaboklab(36.33% -0.0522 0.0643)
OKLCHoklch(36.33% 0.083 129.1)
XYZxyz(3.5026, 5.0460, 1.2796)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304610 #261046
analogous
#464110 #304610 #154610
triadic
#304610 #103046 #461030
tetradic
#304610 #104641 #261046 #461015
square
#304610 #104641 #261046 #461015
split-complementary
#304610 #101546 #411046
monochromatic
#111906 #111906 #304610 #52781B #74AA27

Accessibility & contrast

On white

10.45
#304610 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304610
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304610#FFFFFF#000000##FFFFFF
##3046101.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4008
Deuteranopia (green-blind)
#473F15
Tritanopia (blue-blind)
#32433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #304610;
/* rgb */ color: rgb(48, 70, 16);
/* oklch */ color: oklch(36.3% 0.083 129.1);
Tailwind
colors: {
  custom: {
    50: '#6b7952',
    500: '#304610',
    950: '#000000',
  },
}
SCSS
$custom: #304610;
$custom-light: #6b7952;
$custom-dark: #000000;
JSON
{
  "hex": "#304610",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 16
  },
  "hsl": {
    "h": 84.444,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3633,
    "c": 0.08285,
    "h": 129.1
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#304610
secondary
#523280
accent
#42E685
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #304610

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

Preview Lab → · Contrast checker → · Palette generator →

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