#30974F#30974F

#30974F is a mid, vivid green. Relative luminance 0.233; OKLCH L 60.0% C 0.143 H 149.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#30974F
RGBrgb(48, 151, 79)
HSLhsl(138, 52%, 39%)
HSVhsv(138, 68%, 59%)
CMYKcmyk(68.2%, 0%, 47.7%, 40.8%)
CIE-LABlab(55.41, -45.65, 29.47)
CIE-LCHlch(55.41, 54.34, 147.15°)
OKLaboklab(60.01% -0.123 0.0721)
OKLCHoklch(60.01% 0.143 149.6)
XYZxyz(13.6958, 23.3246, 11.1759)
Luminance0.2333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30974F #973078
analogous
#459730 #30974F #309783
triadic
#30974F #4F3097 #974F30
tetradic
#30974F #304597 #973078 #978330
square
#30974F #304597 #973078 #978330
split-complementary
#30974F #833097 #973045
monochromatic
#123A1E #216937 #30974F #41C368 #70D28D

Accessibility & contrast

On white

3.71
#30974F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#30974F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30974F
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30974F#FFFFFF#000000##000000
##30974F1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A49
Deuteranopia (green-blind)
#8B8154
Tritanopia (blue-blind)
#009486
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #30974f;
/* rgb */ color: rgb(48, 151, 79);
/* oklch */ color: oklch(60.0% 0.143 149.6);
Tailwind
colors: {
  custom: {
    50: '#75b681',
    500: '#30974f',
    950: '#000000',
  },
}
SCSS
$custom: #30974f;
$custom-light: #75b681;
$custom-dark: #000000;
JSON
{
  "hex": "#30974f",
  "rgb": {
    "r": 48,
    "g": 151,
    "b": 79
  },
  "hsl": {
    "h": 138.058,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60012,
    "c": 0.14259,
    "h": 149.6
  },
  "luminance": 0.23326
}

Semantic roles & 50–950 ramp

primary
#30974F
secondary
#B96AA1
accent
#4DB0DB
background
#F7FBF8
surface
#EEF6EF
border
#C9D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #30974F

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

Preview Lab → · Contrast checker → · Palette generator →

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