#306310#306310

#306310 is a dark, vivid yellow-green. Relative luminance 0.096; OKLCH L 44.7% C 0.124 H 136.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#306310
RGBrgb(48, 99, 16)
HSLhsl(97, 72%, 23%)
HSVhsv(97, 84%, 39%)
CMYKcmyk(51.5%, 0%, 83.8%, 61.2%)
CIE-LABlab(37.09, -32.30, 38.45)
CIE-LCHlch(37.09, 50.22, 130.03°)
OKLaboklab(44.7% -0.0899 0.0853)
OKLCHoklch(44.7% 0.124 136.5)
XYZxyz(5.7741, 9.5891, 2.0367)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306310 #431063
analogous
#5A6310 #306310 #106319
triadic
#306310 #103063 #631030
tetradic
#306310 #105A63 #431063 #631910
square
#306310 #105A63 #431063 #631910
split-complementary
#306310 #191063 #63105A
monochromatic
#0D1A04 #162E07 #306310 #4A9819 #63CC21

Accessibility & contrast

On white

7.20
#306310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#306310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306310
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306310#FFFFFF#000000##FFFFFF
##3063101.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#2D5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306310;
/* rgb */ color: rgb(48, 99, 16);
/* oklch */ color: oklch(44.7% 0.124 136.5);
Tailwind
colors: {
  custom: {
    50: '#6e9056',
    500: '#306310',
    950: '#000000',
  },
}
SCSS
$custom: #306310;
$custom-light: #6e9056;
$custom-dark: #000000;
JSON
{
  "hex": "#306310",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 96.867,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.12392,
    "h": 136.5
  },
  "luminance": 0.09589
}

Semantic roles & 50–950 ramp

primary
#306310
secondary
#73339C
accent
#39EFA9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #306310

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

Preview Lab → · Contrast checker → · Palette generator →

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