#305513#305513

#305513 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.103 H 134.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#305513
RGBrgb(48, 85, 19)
HSLhsl(94, 63%, 20%)
HSVhsv(94, 78%, 33%)
CMYKcmyk(43.5%, 0%, 77.6%, 66.7%)
CIE-LABlab(32.20, -25.73, 32.54)
CIE-LCHlch(32.20, 41.48, 128.33°)
OKLaboklab(40.69% -0.072 0.0734)
OKLCHoklch(40.69% 0.103 134.4)
XYZxyz(4.5849, 7.1722, 1.7588)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305513 #381355
analogous
#515513 #305513 #135517
triadic
#305513 #133055 #551330
tetradic
#305513 #135155 #381355 #551713
square
#305513 #135155 #381355 #551713
split-complementary
#305513 #171355 #551351
monochromatic
#0E1906 #142308 #305513 #4C871E #68B929

Accessibility & contrast

On white

8.63
#305513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#305513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305513
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305513#FFFFFF#000000##FFFFFF
##3055131.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E08
Deuteranopia (green-blind)
#534B19
Tritanopia (blue-blind)
#2F5148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #305513;
/* rgb */ color: rgb(48, 85, 19);
/* oklch */ color: oklch(40.7% 0.103 134.4);
Tailwind
colors: {
  custom: {
    50: '#6c8555',
    500: '#305513',
    950: '#000000',
  },
}
SCSS
$custom: #305513;
$custom-light: #6c8555;
$custom-dark: #000000;
JSON
{
  "hex": "#305513",
  "rgb": {
    "r": 48,
    "g": 85,
    "b": 19
  },
  "hsl": {
    "h": 93.636,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40685,
    "c": 0.1028,
    "h": 134.4
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#305513
secondary
#67368D
accent
#41E69E
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305513

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

Preview Lab → · Contrast checker → · Palette generator →

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