#30841C#30841C

#30841C is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.159 H 140.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#30841C
RGBrgb(48, 132, 28)
HSLhsl(108, 65%, 31%)
HSVhsv(108, 79%, 52%)
CMYKcmyk(63.6%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.53, -44.65, 45.27)
CIE-LCHlch(48.53, 63.58, 134.61°)
OKLaboklab(54.16% -0.1224 0.1014)
OKLCHoklch(54.16% 0.159 140.4)
XYZxyz(9.6793, 17.2138, 3.9109)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30841C #701C84
analogous
#64841C #30841C #1C843C
triadic
#30841C #1C3084 #841C30
tetradic
#30841C #1C6484 #701C84 #843C1C
square
#30841C #1C6484 #701C84 #843C1C
split-complementary
#30841C #3C1C84 #841C64
monochromatic
#0B1F07 #1E5211 #30841C #42B627 #60D743

Accessibility & contrast

On white

4.73
#30841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#30841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30841C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30841C#FFFFFF#000000##FFFFFF
##30841C1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887703
Deuteranopia (green-blind)
#7D7128
Tritanopia (blue-blind)
#248070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #30841c;
/* rgb */ color: rgb(48, 132, 28);
/* oklch */ color: oklch(54.2% 0.159 140.4);
Tailwind
colors: {
  custom: {
    50: '#74a961',
    500: '#30841c',
    950: '#000000',
  },
}
SCSS
$custom: #30841c;
$custom-light: #74a961;
$custom-dark: #000000;
JSON
{
  "hex": "#30841c",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 108.462,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.15893,
    "h": 140.4
  },
  "luminance": 0.17215
}

Semantic roles & 50–950 ramp

primary
#30841C
secondary
#A145B7
accent
#40E8C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #30841C

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

Preview Lab → · Contrast checker → · Palette generator →

#30841C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva