#305413#305413

#305413 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.4% C 0.101 H 134.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#305413
RGBrgb(48, 84, 19)
HSLhsl(93, 63%, 20%)
HSVhsv(93, 77%, 33%)
CMYKcmyk(42.9%, 0%, 77.4%, 67.1%)
CIE-LABlab(31.84, -25.25, 32.18)
CIE-LCHlch(31.84, 40.90, 128.12°)
OKLaboklab(40.4% -0.0707 0.0727)
OKLCHoklch(40.4% 0.101 134.2)
XYZxyz(4.5067, 7.0158, 1.7327)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305413 #371354
analogous
#505413 #305413 #135417
triadic
#305413 #133054 #541330
tetradic
#305413 #135054 #371354 #541713
square
#305413 #135054 #371354 #541713
split-complementary
#305413 #171354 #541350
monochromatic
#0E1906 #132208 #305413 #4D861E #69B82A

Accessibility & contrast

On white

8.74
#305413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#305413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305413
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305413#FFFFFF#000000##FFFFFF
##3054131.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D08
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#305047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #305413;
/* rgb */ color: rgb(48, 84, 19);
/* oklch */ color: oklch(40.4% 0.101 134.2);
Tailwind
colors: {
  custom: {
    50: '#6c8455',
    500: '#305413',
    950: '#000000',
  },
}
SCSS
$custom: #305413;
$custom-light: #6c8455;
$custom-dark: #000000;
JSON
{
  "hex": "#305413",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 19
  },
  "hsl": {
    "h": 93.231,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40396,
    "c": 0.10135,
    "h": 134.2
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#305413
secondary
#66368C
accent
#42E69D
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305413

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

Preview Lab → · Contrast checker → · Palette generator →

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