#305A10#305A10

#305A10 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.1% C 0.112 H 135.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#305A10
RGBrgb(48, 90, 16)
HSLhsl(94, 70%, 21%)
HSVhsv(94, 82%, 35%)
CMYKcmyk(46.7%, 0%, 82.2%, 64.7%)
CIE-LABlab(33.94, -28.29, 35.45)
CIE-LCHlch(33.94, 45.36, 128.59°)
OKLaboklab(42.1% -0.0791 0.079)
OKLCHoklch(42.1% 0.112 135)
XYZxyz(4.9685, 7.9778, 1.7682)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A10 #3A105A
analogous
#555A10 #305A10 #105A15
triadic
#305A10 #10305A #5A1030
tetradic
#305A10 #10555A #3A105A #5A1510
square
#305A10 #10555A #3A105A #5A1510
split-complementary
#305A10 #15105A #5A1055
monochromatic
#0E1A05 #142607 #305A10 #4C8E19 #67C222

Accessibility & contrast

On white

8.09
#305A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#305A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305A10
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A10#FFFFFF#000000##FFFFFF
##305A101.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5201
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#2F564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #305a10;
/* rgb */ color: rgb(48, 90, 16);
/* oklch */ color: oklch(42.1% 0.112 135.0);
Tailwind
colors: {
  custom: {
    50: '#6d8955',
    500: '#305a10',
    950: '#000000',
  },
}
SCSS
$custom: #305a10;
$custom-light: #6d8955;
$custom-dark: #000000;
JSON
{
  "hex": "#305a10",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 94.054,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42104,
    "c": 0.11181,
    "h": 135
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#305A10
secondary
#693393
accent
#3BEDA0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305A10

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

Preview Lab → · Contrast checker → · Palette generator →

#305A10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva