#305210#305210

#305210 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.8% C 0.101 H 133.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#305210
RGBrgb(48, 82, 16)
HSLhsl(91, 67%, 19%)
HSVhsv(91, 80%, 32%)
CMYKcmyk(41.5%, 0%, 80.5%, 67.8%)
CIE-LABlab(31.11, -24.51, 32.71)
CIE-LCHlch(31.11, 40.87, 126.85°)
OKLaboklab(39.79% -0.0689 0.0733)
OKLCHoklch(39.79% 0.101 133.2)
XYZxyz(4.3297, 6.7002, 1.5552)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305210 #321052
analogous
#515210 #305210 #105211
triadic
#305210 #103052 #521030
tetradic
#305210 #105152 #321052 #521110
square
#305210 #105152 #321052 #521110
split-complementary
#305210 #111052 #521051
monochromatic
#0F1A05 #121F06 #305210 #4E851A #6CB824

Accessibility & contrast

On white

8.97
#305210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#305210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305210
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305210#FFFFFF#000000##FFFFFF
##3052101.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B04
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#304E45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #305210;
/* rgb */ color: rgb(48, 82, 16);
/* oklch */ color: oklch(39.8% 0.101 133.2);
Tailwind
colors: {
  custom: {
    50: '#6c8353',
    500: '#305210',
    950: '#000000',
  },
}
SCSS
$custom: #305210;
$custom-light: #6c8353;
$custom-dark: #000000;
JSON
{
  "hex": "#305210",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 90.909,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39793,
    "c": 0.10058,
    "h": 133.2
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

primary
#305210
secondary
#60328C
accent
#3EEA97
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305210

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

Preview Lab → · Contrast checker → · Palette generator →

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