#305B10#305B10

#305B10 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.4% C 0.113 H 135.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#305B10
RGBrgb(48, 91, 16)
HSLhsl(94, 70%, 21%)
HSVhsv(94, 82%, 36%)
CMYKcmyk(47.3%, 0%, 82.4%, 64.3%)
CIE-LABlab(34.29, -28.75, 35.79)
CIE-LCHlch(34.29, 45.91, 128.78°)
OKLaboklab(42.39% -0.0804 0.0797)
OKLCHoklch(42.39% 0.113 135.2)
XYZxyz(5.0534, 8.1477, 1.7965)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B10 #3B105B
analogous
#555B10 #305B10 #105B15
triadic
#305B10 #10305B #5B1030
tetradic
#305B10 #10555B #3B105B #5B1510
square
#305B10 #10555B #3B105B #5B1510
split-complementary
#305B10 #15105B #5B1055
monochromatic
#0E1A05 #152707 #305B10 #4B8F19 #67C322

Accessibility & contrast

On white

7.99
#305B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#305B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305B10
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B10#FFFFFF#000000##FFFFFF
##305B101.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5301
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#2F574D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #305b10;
/* rgb */ color: rgb(48, 91, 16);
/* oklch */ color: oklch(42.4% 0.113 135.2);
Tailwind
colors: {
  custom: {
    50: '#6d8a55',
    500: '#305b10',
    950: '#000000',
  },
}
SCSS
$custom: #305b10;
$custom-light: #6d8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#305b10",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 94.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42393,
    "c": 0.11319,
    "h": 135.2
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#305B10
secondary
#6B3394
accent
#3BEDA1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305B10

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

Preview Lab → · Contrast checker → · Palette generator →

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