#306F23#306F23

#306F23 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.127 H 140.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#306F23
RGBrgb(48, 111, 35)
HSLhsl(110, 52%, 29%)
HSVhsv(110, 68%, 44%)
CMYKcmyk(56.8%, 0%, 68.5%, 56.5%)
CIE-LABlab(41.40, -35.80, 35.08)
CIE-LCHlch(41.40, 50.13, 135.58°)
OKLaboklab(48.29% -0.0981 0.081)
OKLCHoklch(48.29% 0.127 140.4)
XYZxyz(7.2064, 12.1180, 3.5490)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F23 #62236F
analogous
#566F23 #306F23 #236F3C
triadic
#306F23 #23306F #6F2330
tetradic
#306F23 #23566F #62236F #6F3C23
square
#306F23 #23566F #62236F #6F3C23
split-complementary
#306F23 #3C236F #6F2356
monochromatic
#0A1707 #1C4014 #306F23 #449E32 #5DC547

Accessibility & contrast

On white

6.13
#306F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#306F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F23
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F23#FFFFFF#000000##FFFFFF
##306F231.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726519
Deuteranopia (green-blind)
#6A602A
Tritanopia (blue-blind)
#296B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306f23;
/* rgb */ color: rgb(48, 111, 35);
/* oklch */ color: oklch(48.3% 0.127 140.4);
Tailwind
colors: {
  custom: {
    50: '#6f9962',
    500: '#306f23',
    950: '#000000',
  },
}
SCSS
$custom: #306f23;
$custom-light: #6f9962;
$custom-dark: #000000;
JSON
{
  "hex": "#306f23",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 35
  },
  "hsl": {
    "h": 109.737,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4829,
    "c": 0.12721,
    "h": 140.4
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

primary
#306F23
secondary
#934CA2
accent
#4CDBC3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #306F23

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

Preview Lab → · Contrast checker → · Palette generator →

#306F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva