#30520D#30520D

#30520D is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.8% C 0.102 H 132.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#30520D
RGBrgb(48, 82, 13)
HSLhsl(90, 73%, 19%)
HSVhsv(90, 84%, 32%)
CMYKcmyk(41.5%, 0%, 84.1%, 67.8%)
CIE-LABlab(31.09, -24.71, 33.84)
CIE-LCHlch(31.09, 41.91, 126.14°)
OKLaboklab(39.77% -0.0697 0.0751)
OKLCHoklch(39.77% 0.102 132.9)
XYZxyz(4.3088, 6.6918, 1.4453)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30520D #2F0D52
analogous
#52510D #30520D #0D520D
triadic
#30520D #0D3052 #520D30
tetradic
#30520D #0D5251 #2F0D52 #520D0D
square
#30520D #0D5251 #2F0D52 #520D0D
split-complementary
#30520D #0D0D52 #510D52
monochromatic
#0F1A04 #111D05 #30520D #4F8715 #6EBC1E

Accessibility & contrast

On white

8.98
#30520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#30520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30520D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30520D#FFFFFF#000000##FFFFFF
##30520D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#304E45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #30520d;
/* rgb */ color: rgb(48, 82, 13);
/* oklch */ color: oklch(39.8% 0.102 132.9);
Tailwind
colors: {
  custom: {
    50: '#6c8352',
    500: '#30520d',
    950: '#000000',
  },
}
SCSS
$custom: #30520d;
$custom-light: #6c8352;
$custom-dark: #000000;
JSON
{
  "hex": "#30520d",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 89.565,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.10247,
    "h": 132.9
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#30520D
secondary
#5D2E8D
accent
#38EF93
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #30520D

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

Preview Lab → · Contrast checker → · Palette generator →

#30520D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva