#30540F#30540F

#30540F is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.4% C 0.104 H 133.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#30540F
RGBrgb(48, 84, 15)
HSLhsl(91, 70%, 19%)
HSVhsv(91, 82%, 33%)
CMYKcmyk(42.9%, 0%, 82.1%, 67.1%)
CIE-LABlab(31.81, -25.55, 33.78)
CIE-LCHlch(31.81, 42.35, 127.10°)
OKLaboklab(40.36% -0.0718 0.0753)
OKLCHoklch(40.36% 0.104 133.6)
XYZxyz(4.4754, 7.0033, 1.5678)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30540F #330F54
analogous
#53540F #30540F #0F5410
triadic
#30540F #0F3054 #540F30
tetradic
#30540F #0F5354 #330F54 #54100F
square
#30540F #0F5354 #330F54 #54100F
split-complementary
#30540F #100F54 #540F53
monochromatic
#0F1A05 #122006 #30540F #4E8818 #6BBC22

Accessibility & contrast

On white

8.75
#30540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#30540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30540F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30540F#FFFFFF#000000##FFFFFF
##30540F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30540f;
/* rgb */ color: rgb(48, 84, 15);
/* oklch */ color: oklch(40.4% 0.104 133.6);
Tailwind
colors: {
  custom: {
    50: '#6c8453',
    500: '#30540f',
    950: '#000000',
  },
}
SCSS
$custom: #30540f;
$custom-light: #6c8453;
$custom-dark: #000000;
JSON
{
  "hex": "#30540f",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 91.304,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40364,
    "c": 0.10407,
    "h": 133.6
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#30540F
secondary
#61318E
accent
#3BED98
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #30540F

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

Preview Lab → · Contrast checker → · Palette generator →

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