#307E29#307E29

#307E29 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.143 H 142.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#307E29
RGBrgb(48, 126, 41)
HSLhsl(115, 51%, 33%)
HSVhsv(115, 67%, 49%)
CMYKcmyk(61.9%, 0%, 67.5%, 50.6%)
CIE-LABlab(46.59, -41.22, 38.00)
CIE-LCHlch(46.59, 56.07, 137.33°)
OKLaboklab(52.59% -0.1124 0.0879)
OKLCHoklch(52.59% 0.143 142)
XYZxyz(9.0795, 15.7093, 4.6511)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E29 #77297E
analogous
#5A7E29 #307E29 #297E4D
triadic
#307E29 #29307E #7E2930
tetradic
#307E29 #295A7E #77297E #7E4D29
square
#307E29 #295A7E #77297E #7E4D29
split-complementary
#307E29 #4D297E #7E295A
monochromatic
#0D220B #1E501A #307E29 #42AC38 #62C959

Accessibility & contrast

On white

5.07
#307E29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#307E29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E29
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E29#FFFFFF#000000##FFFFFF
##307E291.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721E
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#237A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e29;
/* rgb */ color: rgb(48, 126, 41);
/* oklch */ color: oklch(52.6% 0.143 142.0);
Tailwind
colors: {
  custom: {
    50: '#72a467',
    500: '#307e29',
    950: '#000000',
  },
}
SCSS
$custom: #307e29;
$custom-light: #72a467;
$custom-dark: #000000;
JSON
{
  "hex": "#307e29",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 115.059,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.14267,
    "h": 142
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#307E29
secondary
#A755AE
accent
#4DDACF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307E29

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

Preview Lab → · Contrast checker → · Palette generator →

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