#308534#308534

#308534 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.143 H 144.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#308534
RGBrgb(48, 133, 52)
HSLhsl(123, 47%, 35%)
HSVhsv(123, 64%, 52%)
CMYKcmyk(63.9%, 0%, 60.9%, 47.8%)
CIE-LABlab(49.07, -42.67, 35.59)
CIE-LCHlch(49.07, 55.56, 140.16°)
OKLaboklab(54.67% -0.1157 0.0839)
OKLCHoklch(54.67% 0.143 144)
XYZxyz(10.2257, 17.6504, 6.1161)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308534 #853081
analogous
#568530 #308534 #30855F
triadic
#308534 #343085 #853430
tetradic
#308534 #305685 #853081 #855F30
square
#308534 #305685 #853081 #855F30
split-complementary
#308534 #5F3085 #853056
monochromatic
#102B11 #205822 #308534 #40B246 #67C86C

Accessibility & contrast

On white

4.64
#308534 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#308534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308534
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308534#FFFFFF#000000##FFFFFF
##3085341.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88792C
Deuteranopia (green-blind)
#7D723A
Tritanopia (blue-blind)
#1E8173
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308534;
/* rgb */ color: rgb(48, 133, 52);
/* oklch */ color: oklch(54.7% 0.143 144.0);
Tailwind
colors: {
  custom: {
    50: '#73a96e',
    500: '#308534',
    950: '#000000',
  },
}
SCSS
$custom: #308534;
$custom-light: #73a96e;
$custom-dark: #000000;
JSON
{
  "hex": "#308534",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 52
  },
  "hsl": {
    "h": 122.824,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54669,
    "c": 0.14292,
    "h": 144
  },
  "luminance": 0.17651
}

Semantic roles & 50–950 ramp

primary
#308534
secondary
#AF61AC
accent
#51D0D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308534

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

Preview Lab → · Contrast checker → · Palette generator →

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