#306910#306910

#306910 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.4% C 0.132 H 137.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#306910
RGBrgb(48, 105, 16)
HSLhsl(98, 74%, 24%)
HSVhsv(98, 85%, 41%)
CMYKcmyk(54.3%, 0%, 84.8%, 58.8%)
CIE-LABlab(39.19, -34.85, 40.40)
CIE-LCHlch(39.19, 53.36, 130.78°)
OKLaboklab(46.42% -0.0967 0.0894)
OKLCHoklch(46.42% 0.132 137.3)
XYZxyz(6.3638, 10.7685, 2.2333)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306910 #491069
analogous
#5C6910 #306910 #10691C
triadic
#306910 #103069 #691030
tetradic
#306910 #105C69 #491069 #691C10
square
#306910 #105C69 #491069 #691C10
split-complementary
#306910 #1C1069 #69105C
monochromatic
#0C1B04 #183408 #306910 #489E18 #61D320

Accessibility & contrast

On white

6.66
#306910 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#306910 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306910
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306910#FFFFFF#000000##FFFFFF
##3069101.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#655B1B
Tritanopia (blue-blind)
#2C6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #306910;
/* rgb */ color: rgb(48, 105, 16);
/* oklch */ color: oklch(46.4% 0.132 137.3);
Tailwind
colors: {
  custom: {
    50: '#6f9457',
    500: '#306910',
    950: '#000000',
  },
}
SCSS
$custom: #306910;
$custom-light: #6f9457;
$custom-dark: #000000;
JSON
{
  "hex": "#306910",
  "rgb": {
    "r": 48,
    "g": 105,
    "b": 16
  },
  "hsl": {
    "h": 98.427,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46421,
    "c": 0.13171,
    "h": 137.3
  },
  "luminance": 0.10769
}

Semantic roles & 50–950 ramp

primary
#306910
secondary
#7A34A1
accent
#38F0AE
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #306910

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

Preview Lab → · Contrast checker → · Palette generator →

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