#306810#306810

#306810 is a mid, vivid yellow-green. Relative luminance 0.106; OKLCH L 46.1% C 0.130 H 137.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#306810
RGBrgb(48, 104, 16)
HSLhsl(98, 73%, 24%)
HSVhsv(98, 85%, 41%)
CMYKcmyk(53.8%, 0%, 84.6%, 59.2%)
CIE-LABlab(38.84, -34.43, 40.08)
CIE-LCHlch(38.84, 52.84, 130.66°)
OKLaboklab(46.14% -0.0956 0.0887)
OKLCHoklch(46.14% 0.13 137.2)
XYZxyz(6.2626, 10.5660, 2.1995)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306810 #481068
analogous
#5C6810 #306810 #10681C
triadic
#306810 #103068 #681030
tetradic
#306810 #105C68 #481068 #681C10
square
#306810 #105C68 #481068 #681C10
split-complementary
#306810 #1C1068 #68105C
monochromatic
#0C1B04 #183308 #306810 #489D18 #61D220

Accessibility & contrast

On white

6.75
#306810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#306810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306810
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306810#FFFFFF#000000##FFFFFF
##3068101.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #306810;
/* rgb */ color: rgb(48, 104, 16);
/* oklch */ color: oklch(46.1% 0.130 137.2);
Tailwind
colors: {
  custom: {
    50: '#6f9457',
    500: '#306810',
    950: '#000000',
  },
}
SCSS
$custom: #306810;
$custom-light: #6f9457;
$custom-dark: #000000;
JSON
{
  "hex": "#306810",
  "rgb": {
    "r": 48,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 98.182,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.13043,
    "h": 137.2
  },
  "luminance": 0.10566
}

Semantic roles & 50–950 ramp

primary
#306810
secondary
#7934A0
accent
#38F0AD
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #306810

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

Preview Lab → · Contrast checker → · Palette generator →

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