#306210#306210

#306210 is a dark, vivid yellow-green. Relative luminance 0.094; OKLCH L 44.4% C 0.123 H 136.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#306210
RGBrgb(48, 98, 16)
HSLhsl(97, 72%, 22%)
HSVhsv(97, 84%, 38%)
CMYKcmyk(51%, 0%, 83.7%, 61.6%)
CIE-LABlab(36.74, -31.87, 38.12)
CIE-LCHlch(36.74, 49.69, 129.89°)
OKLaboklab(44.41% -0.0887 0.0846)
OKLCHoklch(44.41% 0.123 136.4)
XYZxyz(5.6800, 9.4008, 2.0053)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306210 #421062
analogous
#596210 #306210 #106219
triadic
#306210 #103062 #621030
tetradic
#306210 #105962 #421062 #621910
square
#306210 #105962 #421062 #621910
split-complementary
#306210 #191062 #621059
monochromatic
#0D1A04 #162D07 #306210 #4A9719 #64CB21

Accessibility & contrast

On white

7.29
#306210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#306210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306210
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306210#FFFFFF#000000##FFFFFF
##3062101.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#2E5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #306210;
/* rgb */ color: rgb(48, 98, 16);
/* oklch */ color: oklch(44.4% 0.123 136.4);
Tailwind
colors: {
  custom: {
    50: '#6e8f56',
    500: '#306210',
    950: '#000000',
  },
}
SCSS
$custom: #306210;
$custom-light: #6e8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#306210",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 96.585,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44411,
    "c": 0.12261,
    "h": 136.4
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#306210
secondary
#72339B
accent
#39EFA8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #306210

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

Preview Lab → · Contrast checker → · Palette generator →

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