#306813#306813

#306813 is a mid, vivid yellow-green. Relative luminance 0.106; OKLCH L 46.2% C 0.129 H 137.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#306813
RGBrgb(48, 104, 19)
HSLhsl(100, 69%, 24%)
HSVhsv(100, 82%, 41%)
CMYKcmyk(53.8%, 0%, 81.7%, 59.2%)
CIE-LABlab(38.86, -34.24, 39.09)
CIE-LCHlch(38.86, 51.96, 131.22°)
OKLaboklab(46.15% -0.0949 0.0871)
OKLCHoklch(46.15% 0.129 137.5)
XYZxyz(6.2866, 10.5756, 2.3260)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306813 #4B1368
analogous
#5B6813 #306813 #136820
triadic
#306813 #133068 #681330
tetradic
#306813 #135B68 #4B1368 #682013
square
#306813 #135B68 #4B1368 #682013
split-complementary
#306813 #201368 #68135B
monochromatic
#0C1A05 #18340A #306813 #489C1C #60CF26

Accessibility & contrast

On white

6.74
#306813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#306813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306813
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306813#FFFFFF#000000##FFFFFF
##3068131.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#645A1C
Tritanopia (blue-blind)
#2C6458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306813;
/* rgb */ color: rgb(48, 104, 19);
/* oklch */ color: oklch(46.2% 0.129 137.5);
Tailwind
colors: {
  custom: {
    50: '#6f9458',
    500: '#306813',
    950: '#000000',
  },
}
SCSS
$custom: #306813;
$custom-light: #6f9458;
$custom-dark: #000000;
JSON
{
  "hex": "#306813",
  "rgb": {
    "r": 48,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 99.529,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46154,
    "c": 0.12883,
    "h": 137.5
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#306813
secondary
#7C379F
accent
#3CECB0
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306813

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

Preview Lab → · Contrast checker → · Palette generator →

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