#307F29#307F29

#307F29 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.144 H 142.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#307F29
RGBrgb(48, 127, 41)
HSLhsl(115, 51%, 33%)
HSVhsv(115, 68%, 50%)
CMYKcmyk(62.2%, 0%, 67.7%, 50.2%)
CIE-LABlab(46.93, -41.61, 38.37)
CIE-LCHlch(46.93, 56.60, 137.32°)
OKLaboklab(52.87% -0.1134 0.0887)
OKLCHoklch(52.87% 0.144 142)
XYZxyz(9.2081, 15.9664, 4.6940)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F29 #78297F
analogous
#5B7F29 #307F29 #297F4D
triadic
#307F29 #29307F #7F2930
tetradic
#307F29 #295B7F #78297F #7F4D29
square
#307F29 #295B7F #78297F #7F4D29
split-complementary
#307F29 #4D297F #7F295B
monochromatic
#0D220B #1F511A #307F29 #41AD38 #62C959

Accessibility & contrast

On white

5.01
#307F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#307F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F29
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F29#FFFFFF#000000##FFFFFF
##307F291.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731E
Deuteranopia (green-blind)
#786D31
Tritanopia (blue-blind)
#237B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f29;
/* rgb */ color: rgb(48, 127, 41);
/* oklch */ color: oklch(52.9% 0.144 142.0);
Tailwind
colors: {
  custom: {
    50: '#72a567',
    500: '#307f29',
    950: '#000000',
  },
}
SCSS
$custom: #307f29;
$custom-light: #72a567;
$custom-dark: #000000;
JSON
{
  "hex": "#307f29",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 115.116,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52867,
    "c": 0.14399,
    "h": 142
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#307F29
secondary
#A755AF
accent
#4DDBCF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #307F29

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

Preview Lab → · Contrast checker → · Palette generator →

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