#307231#307231

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

Color values

HEX#307231
RGBrgb(48, 114, 49)
HSLhsl(121, 41%, 32%)
HSVhsv(121, 58%, 45%)
CMYKcmyk(57.9%, 0%, 57%, 55.3%)
CIE-LABlab(42.59, -35.34, 29.48)
CIE-LCHlch(42.59, 46.03, 140.17°)
OKLaboklab(49.32% -0.096 0.0704)
OKLCHoklch(49.32% 0.119 143.8)
XYZxyz(7.7902, 12.8841, 4.9815)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307231 #723071
analogous
#507230 #307231 #307252
triadic
#307231 #313072 #723130
tetradic
#307231 #305072 #723071 #725230
square
#307231 #305072 #723071 #725230
split-complementary
#307231 #523072 #723050
monochromatic
#0C1C0C #1E471E #307231 #429D44 #60BC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307231#FFFFFF#000000##FFFFFF
##3072311.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)
#74682B
Deuteranopia (green-blind)
#6C6236
Tritanopia (blue-blind)
#256F63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #307231;
/* rgb */ color: rgb(48, 114, 49);
/* oklch */ color: oklch(49.3% 0.119 143.8);
Tailwind
colors: {
  custom: {
    50: '#6f9b6b',
    500: '#307231',
    950: '#000000',
  },
}
SCSS
$custom: #307231;
$custom-light: #6f9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#307231",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 120.909,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49316,
    "c": 0.11904,
    "h": 143.8
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#307231
secondary
#A35BA2
accent
#57CFD1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #307231

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

Preview Lab → · Contrast checker → · Palette generator →

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