#305D10#305D10

#305D10 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.0% C 0.116 H 135.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#305D10
RGBrgb(48, 93, 16)
HSLhsl(95, 71%, 21%)
HSVhsv(95, 83%, 36%)
CMYKcmyk(48.4%, 0%, 82.8%, 63.5%)
CIE-LABlab(34.99, -29.65, 36.46)
CIE-LCHlch(34.99, 47.00, 129.12°)
OKLaboklab(42.97% -0.0828 0.0811)
OKLCHoklch(42.97% 0.116 135.6)
XYZxyz(5.2267, 8.4942, 1.8542)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D10 #3D105D
analogous
#575D10 #305D10 #105D17
triadic
#305D10 #10305D #5D1030
tetradic
#305D10 #10575D #3D105D #5D1710
square
#305D10 #10575D #3D105D #5D1710
split-complementary
#305D10 #17105D #5D1057
monochromatic
#0D1A04 #152907 #305D10 #4B9119 #66C522

Accessibility & contrast

On white

7.78
#305D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#305D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305D10
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D10#FFFFFF#000000##FFFFFF
##305D101.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#2E594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305d10;
/* rgb */ color: rgb(48, 93, 16);
/* oklch */ color: oklch(43.0% 0.116 135.6);
Tailwind
colors: {
  custom: {
    50: '#6d8b55',
    500: '#305d10',
    950: '#000000',
  },
}
SCSS
$custom: #305d10;
$custom-light: #6d8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#305d10",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 95.065,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4297,
    "c": 0.11591,
    "h": 135.6
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#305D10
secondary
#6D3396
accent
#3AEDA3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305D10

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

Preview Lab → · Contrast checker → · Palette generator →

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