#306415#306415

#306415 is a mid, vivid yellow-green. Relative luminance 0.098; OKLCH L 45.0% C 0.122 H 137.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#306415
RGBrgb(48, 100, 21)
HSLhsl(99, 65%, 24%)
HSVhsv(99, 79%, 39%)
CMYKcmyk(52%, 0%, 79%, 60.8%)
CIE-LABlab(37.47, -32.39, 37.00)
CIE-LCHlch(37.47, 49.18, 131.20°)
OKLaboklab(45.02% -0.0898 0.0831)
OKLCHoklch(45.02% 0.122 137.2)
XYZxyz(5.9113, 9.7965, 2.2887)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306415 #491564
analogous
#576415 #306415 #156421
triadic
#306415 #153064 #641530
tetradic
#306415 #155764 #491564 #642115
square
#306415 #155764 #491564 #642115
split-complementary
#306415 #211564 #641557
monochromatic
#0C1905 #18310A #306415 #489720 #61C92A

Accessibility & contrast

On white

7.10
#306415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#306415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306415
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306415#FFFFFF#000000##FFFFFF
##3064151.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B05
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#2D6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #306415;
/* rgb */ color: rgb(48, 100, 21);
/* oklch */ color: oklch(45.0% 0.122 137.2);
Tailwind
colors: {
  custom: {
    50: '#6e9159',
    500: '#306415',
    950: '#000000',
  },
}
SCSS
$custom: #306415;
$custom-light: #6e9159;
$custom-dark: #000000;
JSON
{
  "hex": "#306415",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 99.494,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45021,
    "c": 0.12234,
    "h": 137.2
  },
  "luminance": 0.09797
}

Semantic roles & 50–950 ramp

primary
#306415
secondary
#7A3A9B
accent
#40E8AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #306415

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

Preview Lab → · Contrast checker → · Palette generator →

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