#305C10#305C10

#305C10 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.7% C 0.115 H 135.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#305C10
RGBrgb(48, 92, 16)
HSLhsl(95, 70%, 21%)
HSVhsv(95, 83%, 36%)
CMYKcmyk(47.8%, 0%, 82.6%, 63.9%)
CIE-LABlab(34.64, -29.20, 36.13)
CIE-LCHlch(34.64, 46.45, 128.95°)
OKLaboklab(42.68% -0.0816 0.0804)
OKLCHoklch(42.68% 0.115 135.4)
XYZxyz(5.1395, 8.3198, 1.8252)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C10 #3C105C
analogous
#565C10 #305C10 #105C16
triadic
#305C10 #10305C #5C1030
tetradic
#305C10 #10565C #3C105C #5C1610
square
#305C10 #10565C #3C105C #5C1610
split-complementary
#305C10 #16105C #5C1056
monochromatic
#0E1A05 #152807 #305C10 #4B9019 #66C422

Accessibility & contrast

On white

7.88
#305C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#305C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305C10
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C10#FFFFFF#000000##FFFFFF
##305C101.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605401
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#2F584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #305c10;
/* rgb */ color: rgb(48, 92, 16);
/* oklch */ color: oklch(42.7% 0.115 135.4);
Tailwind
colors: {
  custom: {
    50: '#6d8a55',
    500: '#305c10',
    950: '#000000',
  },
}
SCSS
$custom: #305c10;
$custom-light: #6d8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#305c10",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 94.737,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42682,
    "c": 0.11455,
    "h": 135.4
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#305C10
secondary
#6C3395
accent
#3BEDA2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305C10

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

Preview Lab → · Contrast checker → · Palette generator →

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