#309538#309538

#309538 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.161 H 144.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#309538
RGBrgb(48, 149, 56)
HSLhsl(125, 51%, 39%)
HSVhsv(125, 68%, 58%)
CMYKcmyk(67.8%, 0%, 62.4%, 41.6%)
CIE-LABlab(54.46, -48.21, 39.87)
CIE-LCHlch(54.46, 62.56, 140.41°)
OKLaboklab(59.14% -0.1305 0.0935)
OKLCHoklch(59.14% 0.161 144.4)
XYZxyz(12.6794, 22.4075, 7.3975)
Luminance0.2241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309538 #95308D
analogous
#5A9530 #309538 #30956A
triadic
#309538 #383095 #953830
tetradic
#309538 #305A95 #95308D #956A30
square
#309538 #305A95 #95308D #956A30
split-complementary
#309538 #6A3095 #95305A
monochromatic
#123815 #216727 #309538 #41C24B #6FD177

Accessibility & contrast

On white

3.83
#309538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#309538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309538
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309538#FFFFFF#000000##000000
##3095381.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872E
Deuteranopia (green-blind)
#8C7F40
Tritanopia (blue-blind)
#149181
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #309538;
/* rgb */ color: rgb(48, 149, 56);
/* oklch */ color: oklch(59.1% 0.161 144.4);
Tailwind
colors: {
  custom: {
    50: '#76b572',
    500: '#309538',
    950: '#000000',
  },
}
SCSS
$custom: #309538;
$custom-light: #76b572;
$custom-dark: #000000;
JSON
{
  "hex": "#309538",
  "rgb": {
    "r": 48,
    "g": 149,
    "b": 56
  },
  "hsl": {
    "h": 124.752,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59135,
    "c": 0.16056,
    "h": 144.4
  },
  "luminance": 0.22409
}

Semantic roles & 50–950 ramp

primary
#309538
secondary
#B869B2
accent
#4DD0DB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #309538

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

Preview Lab → · Contrast checker → · Palette generator →

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