#30560F#30560F

#30560F is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.107 H 134.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#30560F
RGBrgb(48, 86, 15)
HSLhsl(92, 70%, 20%)
HSVhsv(92, 83%, 34%)
CMYKcmyk(44.2%, 0%, 82.6%, 66.3%)
CIE-LABlab(32.52, -26.50, 34.46)
CIE-LCHlch(32.52, 43.47, 127.55°)
OKLaboklab(40.94% -0.0744 0.0768)
OKLCHoklch(40.94% 0.107 134.1)
XYZxyz(4.6329, 7.3182, 1.6203)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30560F #350F56
analogous
#53560F #30560F #0F5612
triadic
#30560F #0F3056 #560F30
tetradic
#30560F #0F5356 #350F56 #56120F
square
#30560F #0F5356 #350F56 #56120F
split-complementary
#30560F #120F56 #560F53
monochromatic
#0F1A05 #132206 #30560F #4D8A18 #6ABE21

Accessibility & contrast

On white

8.52
#30560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#30560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30560F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30560F#FFFFFF#000000##FFFFFF
##30560F1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E01
Deuteranopia (green-blind)
#554B16
Tritanopia (blue-blind)
#305249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #30560f;
/* rgb */ color: rgb(48, 86, 15);
/* oklch */ color: oklch(40.9% 0.107 134.1);
Tailwind
colors: {
  custom: {
    50: '#6c8654',
    500: '#30560f',
    950: '#000000',
  },
}
SCSS
$custom: #30560f;
$custom-light: #6c8654;
$custom-dark: #000000;
JSON
{
  "hex": "#30560f",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 92.113,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40942,
    "c": 0.10687,
    "h": 134.1
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#30560F
secondary
#643190
accent
#3BED9A
background
#F6F8F5
surface
#ECEFE8
border
#C7CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #30560F

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

Preview Lab → · Contrast checker → · Palette generator →

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