#305910#305910

#305910 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.110 H 134.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#305910
RGBrgb(48, 89, 16)
HSLhsl(94, 70%, 21%)
HSVhsv(94, 82%, 35%)
CMYKcmyk(46.1%, 0%, 82%, 65.1%)
CIE-LABlab(33.58, -27.83, 35.11)
CIE-LCHlch(33.58, 44.80, 128.40°)
OKLaboklab(41.82% -0.0779 0.0783)
OKLCHoklch(41.82% 0.11 134.8)
XYZxyz(4.8847, 7.8103, 1.7403)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305910 #391059
analogous
#545910 #305910 #105915
triadic
#305910 #103059 #591030
tetradic
#305910 #105459 #391059 #591510
square
#305910 #105459 #391059 #591510
split-complementary
#305910 #151059 #591054
monochromatic
#0E1A05 #142507 #305910 #4C8D19 #68C123

Accessibility & contrast

On white

8.20
#305910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#305910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305910
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305910#FFFFFF#000000##FFFFFF
##3059101.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5102
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#2F554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #305910;
/* rgb */ color: rgb(48, 89, 16);
/* oklch */ color: oklch(41.8% 0.110 134.8);
Tailwind
colors: {
  custom: {
    50: '#6d8855',
    500: '#305910',
    950: '#000000',
  },
}
SCSS
$custom: #305910;
$custom-light: #6d8855;
$custom-dark: #000000;
JSON
{
  "hex": "#305910",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 16
  },
  "hsl": {
    "h": 93.699,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.11043,
    "h": 134.8
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#305910
secondary
#683392
accent
#3BEC9F
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305910

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

Preview Lab → · Contrast checker → · Palette generator →

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