#307230#307230

#307230 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.3% C 0.120 H 143.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#307230
RGBrgb(48, 114, 48)
HSLhsl(120, 41%, 32%)
HSVhsv(120, 58%, 45%)
CMYKcmyk(57.9%, 0%, 57.9%, 55.3%)
CIE-LABlab(42.58, -35.48, 29.99)
CIE-LCHlch(42.58, 46.46, 139.80°)
OKLaboklab(49.3% -0.0964 0.0714)
OKLCHoklch(49.3% 0.12 143.5)
XYZxyz(7.7693, 12.8757, 4.8716)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307230 #723072
analogous
#517230 #307230 #307251
triadic
#307230 #303072 #723030
tetradic
#307230 #305172 #723072 #725130
square
#307230 #305172 #723072 #725130
split-complementary
#307230 #513072 #723051
monochromatic
#0C1C0C #1E471E #307230 #429D42 #60BC60

Accessibility & contrast

On white

5.87
#307230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#307230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307230
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307230#FFFFFF#000000##FFFFFF
##3072301.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682A
Deuteranopia (green-blind)
#6C6235
Tritanopia (blue-blind)
#256F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #307230;
/* rgb */ color: rgb(48, 114, 48);
/* oklch */ color: oklch(49.3% 0.120 143.5);
Tailwind
colors: {
  custom: {
    50: '#6f9b6a',
    500: '#307230',
    950: '#000000',
  },
}
SCSS
$custom: #307230;
$custom-light: #6f9b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#307230",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 48
  },
  "hsl": {
    "h": 120,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49301,
    "c": 0.11999,
    "h": 143.5
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#307230
secondary
#A35BA3
accent
#57D1D1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #307230

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

Preview Lab → · Contrast checker → · Palette generator →

#307230 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva