#305313#305313

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

Color values

HEX#305313
RGBrgb(48, 83, 19)
HSLhsl(93, 63%, 20%)
HSVhsv(93, 77%, 33%)
CMYKcmyk(42.2%, 0%, 77.1%, 67.5%)
CIE-LABlab(31.49, -24.76, 31.82)
CIE-LCHlch(31.49, 40.32, 127.89°)
OKLaboklab(40.11% -0.0693 0.0719)
OKLCHoklch(40.11% 0.1 134)
XYZxyz(4.4296, 6.8617, 1.7070)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305313 #361353
analogous
#505313 #305313 #135316
triadic
#305313 #133053 #531330
tetradic
#305313 #135053 #361353 #531613
square
#305313 #135053 #361353 #531613
split-complementary
#305313 #161353 #531350
monochromatic
#0E1906 #132108 #305313 #4D851E #6AB72A

Accessibility & contrast

On white

8.85
#305313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #305313
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305313#FFFFFF#000000##FFFFFF
##3053131.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #305313;
/* rgb */ color: rgb(48, 83, 19);
/* oklch */ color: oklch(40.1% 0.100 134.0);
Tailwind
colors: {
  custom: {
    50: '#6c8355',
    500: '#305313',
    950: '#000000',
  },
}
SCSS
$custom: #305313;
$custom-light: #6c8355;
$custom-dark: #000000;
JSON
{
  "hex": "#305313",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 92.813,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.40107,
    "c": 0.0999,
    "h": 134
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#305313
secondary
#65368B
accent
#42E69C
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305313

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

Preview Lab → · Contrast checker → · Palette generator →

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