#306211#306211

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

Color values

HEX#306211
RGBrgb(48, 98, 17)
HSLhsl(97, 70%, 23%)
HSVhsv(97, 83%, 38%)
CMYKcmyk(51%, 0%, 82.7%, 61.6%)
CIE-LABlab(36.75, -31.80, 37.78)
CIE-LCHlch(36.75, 49.38, 130.09°)
OKLaboklab(44.42% -0.0885 0.084)
OKLCHoklch(44.42% 0.122 136.5)
XYZxyz(5.6876, 9.4038, 2.0456)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306211 #431162
analogous
#596211 #306211 #11621A
triadic
#306211 #113062 #621130
tetradic
#306211 #115962 #431162 #621A11
square
#306211 #115962 #431162 #621A11
split-complementary
#306211 #1A1162 #621159
monochromatic
#0D1A05 #162E08 #306211 #4A961A #63CA23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306211#FFFFFF#000000##FFFFFF
##3062111.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)
#5F551A
Tritanopia (blue-blind)
#2D5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #306211;
/* rgb */ color: rgb(48, 98, 17);
/* oklch */ color: oklch(44.4% 0.122 136.5);
Tailwind
colors: {
  custom: {
    50: '#6e8f56',
    500: '#306211',
    950: '#000000',
  },
}
SCSS
$custom: #306211;
$custom-light: #6e8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#306211",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 97.037,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44417,
    "c": 0.12205,
    "h": 136.5
  },
  "luminance": 0.09404
}

Semantic roles & 50–950 ramp

primary
#306211
secondary
#73349A
accent
#3BEDA9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #306211

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

Preview Lab → · Contrast checker → · Palette generator →

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