#306123#306123

#306123 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.107 H 139.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#306123
RGBrgb(48, 97, 35)
HSLhsl(107, 47%, 26%)
HSVhsv(107, 64%, 38%)
CMYKcmyk(50.5%, 0%, 63.9%, 62%)
CIE-LABlab(36.55, -29.71, 29.68)
CIE-LCHlch(36.55, 41.99, 135.03°)
OKLaboklab(44.3% -0.0815 0.0695)
OKLCHoklch(44.3% 0.107 139.5)
XYZxyz(5.7968, 9.2987, 3.0792)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306123 #542361
analogous
#4F6123 #306123 #236135
triadic
#306123 #233061 #612330
tetradic
#306123 #234F61 #542361 #613523
square
#306123 #234F61 #542361 #613523
split-complementary
#306123 #352361 #61234F
monochromatic
#0B1608 #1A3413 #306123 #468E33 #5DBB43

Accessibility & contrast

On white

7.34
#306123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#306123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306123
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306123#FFFFFF#000000##FFFFFF
##3061231.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591C
Deuteranopia (green-blind)
#5D5428
Tritanopia (blue-blind)
#2C5E54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #306123;
/* rgb */ color: rgb(48, 97, 35);
/* oklch */ color: oklch(44.3% 0.107 139.5);
Tailwind
colors: {
  custom: {
    50: '#6d8e60',
    500: '#306123',
    950: '#000000',
  },
}
SCSS
$custom: #306123;
$custom-light: #6d8e60;
$custom-dark: #000000;
JSON
{
  "hex": "#306123",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 35
  },
  "hsl": {
    "h": 107.419,
    "s": 46.97,
    "l": 25.882
  },
  "oklch": {
    "l": 0.44304,
    "c": 0.10713,
    "h": 139.5
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#306123
secondary
#854B95
accent
#51D7BB
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #306123

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

Preview Lab → · Contrast checker → · Palette generator →

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