#307338#307338

#307338 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.7% C 0.114 H 145.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#307338
RGBrgb(48, 115, 56)
HSLhsl(127, 41%, 32%)
HSVhsv(127, 58%, 45%)
CMYKcmyk(58.3%, 0%, 51.3%, 54.9%)
CIE-LABlab(43.03, -34.72, 26.26)
CIE-LCHlch(43.03, 43.54, 142.90°)
OKLaboklab(49.71% -0.0941 0.0637)
OKLCHoklch(49.71% 0.114 145.9)
XYZxyz(8.0630, 13.1747, 5.8587)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307338 #73306B
analogous
#4A7330 #307338 #30735A
triadic
#307338 #383073 #733830
tetradic
#307338 #304A73 #73306B #735A30
square
#307338 #304A73 #73306B #735A30
split-complementary
#307338 #5A3073 #73304A
monochromatic
#0C1D0E #1E4823 #307338 #429E4D #61BD6C

Accessibility & contrast

On white

5.78
#307338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#307338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307338
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307338#FFFFFF#000000##FFFFFF
##3073381.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756933
Deuteranopia (green-blind)
#6C633C
Tritanopia (blue-blind)
#237065
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #307338;
/* rgb */ color: rgb(48, 115, 56);
/* oklch */ color: oklch(49.7% 0.114 145.9);
Tailwind
colors: {
  custom: {
    50: '#6f9c70',
    500: '#307338',
    950: '#000000',
  },
}
SCSS
$custom: #307338;
$custom-light: #6f9c70;
$custom-dark: #000000;
JSON
{
  "hex": "#307338",
  "rgb": {
    "r": 48,
    "g": 115,
    "b": 56
  },
  "hsl": {
    "h": 127.164,
    "s": 41.104,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49706,
    "c": 0.11361,
    "h": 145.9
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#307338
secondary
#A45B9B
accent
#57C2D1
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #307338

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

Preview Lab → · Contrast checker → · Palette generator →

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