#305310#305310

#305310 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.1% C 0.102 H 133.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#305310
RGBrgb(48, 83, 16)
HSLhsl(91, 68%, 19%)
HSVhsv(91, 81%, 33%)
CMYKcmyk(42.2%, 0%, 80.7%, 67.5%)
CIE-LABlab(31.47, -24.99, 33.05)
CIE-LCHlch(31.47, 41.44, 127.10°)
OKLaboklab(40.08% -0.0702 0.074)
OKLCHoklch(40.08% 0.102 133.5)
XYZxyz(4.4056, 6.8521, 1.5806)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305310 #331053
analogous
#525310 #305310 #105311
triadic
#305310 #103053 #531030
tetradic
#305310 #105253 #331053 #531110
square
#305310 #105253 #331053 #531110
split-complementary
#305310 #111053 #531052
monochromatic
#0F1A05 #122006 #305310 #4E861A #6BBA24

Accessibility & contrast

On white

8.86
#305310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#305310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305310
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305310#FFFFFF#000000##FFFFFF
##3053101.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C04
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#304F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #305310;
/* rgb */ color: rgb(48, 83, 16);
/* oklch */ color: oklch(40.1% 0.102 133.5);
Tailwind
colors: {
  custom: {
    50: '#6c8354',
    500: '#305310',
    950: '#000000',
  },
}
SCSS
$custom: #305310;
$custom-light: #6c8354;
$custom-dark: #000000;
JSON
{
  "hex": "#305310",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 91.343,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40082,
    "c": 0.10201,
    "h": 133.5
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#305310
secondary
#61328D
accent
#3DEB98
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305310

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

Preview Lab → · Contrast checker → · Palette generator →

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