#306713#306713

#306713 is a mid, vivid yellow-green. Relative luminance 0.104; OKLCH L 45.9% C 0.128 H 137.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#306713
RGBrgb(48, 103, 19)
HSLhsl(99, 69%, 24%)
HSVhsv(99, 82%, 40%)
CMYKcmyk(53.4%, 0%, 81.6%, 59.6%)
CIE-LABlab(38.51, -33.82, 38.75)
CIE-LCHlch(38.51, 51.43, 131.11°)
OKLaboklab(45.87% -0.0938 0.0864)
OKLCHoklch(45.87% 0.128 137.4)
XYZxyz(6.1865, 10.3754, 2.2926)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306713 #4A1367
analogous
#5A6713 #306713 #136720
triadic
#306713 #133067 #671330
tetradic
#306713 #135A67 #4A1367 #672013
square
#306713 #135A67 #4A1367 #672013
split-complementary
#306713 #201367 #67135A
monochromatic
#0C1A05 #183309 #306713 #489B1D #60CE26

Accessibility & contrast

On white

6.83
#306713 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#306713 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306713
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306713#FFFFFF#000000##FFFFFF
##3067131.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D01
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#2C6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306713;
/* rgb */ color: rgb(48, 103, 19);
/* oklch */ color: oklch(45.9% 0.128 137.4);
Tailwind
colors: {
  custom: {
    50: '#6f9358',
    500: '#306713',
    950: '#000000',
  },
}
SCSS
$custom: #306713;
$custom-light: #6f9358;
$custom-dark: #000000;
JSON
{
  "hex": "#306713",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 19
  },
  "hsl": {
    "h": 99.286,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.12752,
    "h": 137.4
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#306713
secondary
#7B379E
accent
#3CECAF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306713

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

Preview Lab → · Contrast checker → · Palette generator →

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