#30551A#30551A

#30551A is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.8% C 0.097 H 135.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#30551A
RGBrgb(48, 85, 26)
HSLhsl(98, 53%, 22%)
HSVhsv(98, 69%, 33%)
CMYKcmyk(43.5%, 0%, 69.4%, 66.7%)
CIE-LABlab(32.26, -25.09, 29.38)
CIE-LCHlch(32.26, 38.64, 130.49°)
OKLaboklab(40.76% -0.0696 0.0678)
OKLCHoklch(40.76% 0.097 135.8)
XYZxyz(4.6538, 7.1997, 2.1216)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30551A #3F1A55
analogous
#4E551A #30551A #1A5522
triadic
#30551A #1A3055 #551A30
tetradic
#30551A #1A4E55 #3F1A55 #55221A
square
#30551A #1A4E55 #3F1A55 #55221A
split-complementary
#30551A #221A55 #551A4E
monochromatic
#0D1707 #16260C #30551A #4A8428 #65B337

Accessibility & contrast

On white

8.61
#30551A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#30551A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30551A
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30551A#FFFFFF#000000##FFFFFF
##30551A1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E13
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#2F5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #30551a;
/* rgb */ color: rgb(48, 85, 26);
/* oklch */ color: oklch(40.8% 0.097 135.8);
Tailwind
colors: {
  custom: {
    50: '#6c8559',
    500: '#30551a',
    950: '#000000',
  },
}
SCSS
$custom: #30551a;
$custom-light: #6c8559;
$custom-dark: #000000;
JSON
{
  "hex": "#30551a",
  "rgb": {
    "r": 48,
    "g": 85,
    "b": 26
  },
  "hsl": {
    "h": 97.627,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40755,
    "c": 0.09719,
    "h": 135.8
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#30551A
secondary
#6F408B
accent
#4BDDA6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #30551A

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

Preview Lab → · Contrast checker → · Palette generator →

#30551A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva