#306515#306515

#306515 is a mid, vivid yellow-green. Relative luminance 0.100; OKLCH L 45.3% C 0.124 H 137.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#306515
RGBrgb(48, 101, 21)
HSLhsl(100, 66%, 24%)
HSVhsv(100, 79%, 40%)
CMYKcmyk(52.5%, 0%, 79.2%, 60.4%)
CIE-LABlab(37.82, -32.83, 37.35)
CIE-LCHlch(37.82, 49.72, 131.31°)
OKLaboklab(45.31% -0.091 0.0838)
OKLCHoklch(45.31% 0.124 137.4)
XYZxyz(6.0078, 9.9895, 2.3209)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306515 #4A1565
analogous
#586515 #306515 #156522
triadic
#306515 #153065 #651530
tetradic
#306515 #155865 #4A1565 #652215
square
#306515 #155865 #4A1565 #652215
split-complementary
#306515 #221565 #651558
monochromatic
#0C1905 #18320A #306515 #489820 #60CA2A

Accessibility & contrast

On white

7.00
#306515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#306515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306515
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306515#FFFFFF#000000##FFFFFF
##3065151.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C05
Deuteranopia (green-blind)
#62571D
Tritanopia (blue-blind)
#2D6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #306515;
/* rgb */ color: rgb(48, 101, 21);
/* oklch */ color: oklch(45.3% 0.124 137.4);
Tailwind
colors: {
  custom: {
    50: '#6e9159',
    500: '#306515',
    950: '#000000',
  },
}
SCSS
$custom: #306515;
$custom-light: #6e9159;
$custom-dark: #000000;
JSON
{
  "hex": "#306515",
  "rgb": {
    "r": 48,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 99.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45308,
    "c": 0.12369,
    "h": 137.4
  },
  "luminance": 0.0999
}

Semantic roles & 50–950 ramp

primary
#306515
secondary
#7B3A9C
accent
#3FE9AF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306515

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

Preview Lab → · Contrast checker → · Palette generator →

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