#30520F#30520F

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

Color values

HEX#30520F
RGBrgb(48, 82, 15)
HSLhsl(90, 69%, 19%)
HSVhsv(90, 82%, 32%)
CMYKcmyk(41.5%, 0%, 81.7%, 67.8%)
CIE-LABlab(31.11, -24.58, 33.10)
CIE-LCHlch(31.11, 41.23, 126.60°)
OKLaboklab(39.78% -0.0692 0.0739)
OKLCHoklch(39.78% 0.101 133.1)
XYZxyz(4.3224, 6.6973, 1.5168)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30520F #310F52
analogous
#52520F #30520F #0F5210
triadic
#30520F #0F3052 #520F30
tetradic
#30520F #0F5252 #310F52 #52100F
square
#30520F #0F5252 #310F52 #52100F
split-complementary
#30520F #100F52 #520F52
monochromatic
#0F1A05 #121E06 #30520F #4E8618 #6DB922

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30520F#FFFFFF#000000##FFFFFF
##30520F1.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)
#564B03
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#304E45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #30520f;
/* rgb */ color: rgb(48, 82, 15);
/* oklch */ color: oklch(39.8% 0.101 133.1);
Tailwind
colors: {
  custom: {
    50: '#6c8353',
    500: '#30520f',
    950: '#000000',
  },
}
SCSS
$custom: #30520f;
$custom-light: #6c8353;
$custom-dark: #000000;
JSON
{
  "hex": "#30520f",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 90.448,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39785,
    "c": 0.10123,
    "h": 133.1
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#30520F
secondary
#5F318C
accent
#3CEC95
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #30520F

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

Preview Lab → · Contrast checker → · Palette generator →

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