#307A52#307A52

#307A52 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.2% C 0.098 H 156.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#307A52
RGBrgb(48, 122, 82)
HSLhsl(148, 44%, 33%)
HSVhsv(148, 61%, 48%)
CMYKcmyk(60.7%, 0%, 32.8%, 52.2%)
CIE-LABlab(45.85, -32.92, 15.22)
CIE-LCHlch(45.85, 36.27, 155.18°)
OKLaboklab(52.17% -0.0897 0.0385)
OKLCHoklch(52.17% 0.098 156.8)
XYZxyz(9.7006, 15.1557, 10.3951)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A52 #7A3058
analogous
#337A30 #307A52 #307A77
triadic
#307A52 #52307A #7A5230
tetradic
#307A52 #30337A #7A3058 #7A7730
square
#307A52 #30337A #7A3058 #7A7730
split-complementary
#307A52 #77307A #7A3033
monochromatic
#0D2217 #1F4E34 #307A52 #41A670 #63C28E

Accessibility & contrast

On white

5.21
#307A52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#307A52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A52
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A52#FFFFFF#000000##FFFFFF
##307A521.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797150
Deuteranopia (green-blind)
#6F6A55
Tritanopia (blue-blind)
#14796F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307a52;
/* rgb */ color: rgb(48, 122, 82);
/* oklch */ color: oklch(52.2% 0.098 156.8);
Tailwind
colors: {
  custom: {
    50: '#70a182',
    500: '#307a52',
    950: '#000000',
  },
}
SCSS
$custom: #307a52;
$custom-light: #70a182;
$custom-dark: #000000;
JSON
{
  "hex": "#307a52",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 82
  },
  "hsl": {
    "h": 147.568,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52171,
    "c": 0.0976,
    "h": 156.8
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#307A52
secondary
#A95D86
accent
#5599D3
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #307A52

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

Preview Lab → · Contrast checker → · Palette generator →

#307A52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva